Hi Keong,

Please run the following command to build the docker image.

mvn -Pdocker clean install -DskipTests

docker.push.registry value is set to localhost:5000
aai.docker.namespace value is set to onap
You can override them by runtime setting those properties.

Thanks,
Harish

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of 
Keong Lim
Sent: Monday, August 20, 2018 9:35 AM
To: [email protected]
Subject: [onap-discuss] How to build aai-resources and aai-traversal docker 
images and push to local docker repository? #aai #docker

Hi Jimmy,

I have anUbuntu VM with builds of aai/resources and aai/traversal components.
I also have a local Docker repository for testing.
I found Dockerfiles for example:

./aai-traversal/src/main/docker/Dockerfile
./aai-traversal/target/aai-traversal-1.3.0-SNAPSHOT-build/Dockerfile
./aai-resources/src/main/docker/Dockerfile
./aai-resources/target/aai-resources-1.3.0-SNAPSHOT-build/Dockerfile

but when using the "docker build" command on these, it gives an error for a 
directory not found for a COPY command.

What commands and configuration do I need to build new Docker images and push 
it only to my local Docker repository?

Thanks,
Keong




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11947): https://lists.onap.org/g/onap-discuss/message/11947
Mute This Topic: https://lists.onap.org/mt/24818784/21656
Mute #aai: https://lists.onap.org/mk?hashtag=aai&subid=2740164
Mute #docker: https://lists.onap.org/mk?hashtag=docker&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to