Open nagulvali555 opened 2 years ago
ubuntu@ip-172-31-34-221:~/e-commerce-microservices-sample$ docker-compose up Creating network "e-commerce-microservices-sample_default" with the default driver Building discovery-microservice Sending build context to Docker daemon 11.26kB Step 1/6 : FROM anapsix/alpine-java:8_jdk_unlimited 8_jdk_unlimited: Pulling from anapsix/alpine-java 169185f82c45: Pull complete b6dbdadc155a: Pull complete Digest: sha256:3efbada98b873839aa397df2da30242b4db882f1525b8bd05bd894eda231b1d7 Status: Downloaded newer image for anapsix/alpine-java:8_jdk_unlimited ---> cbe2edd4cf23 Step 2/6 : MAINTAINER Venkata Ravuri venkat@nikhu.com ---> Running in 4045dab75d0c Removing intermediate container 4045dab75d0c ---> 42d76ea6af53 Step 3/6 : RUN apk add --update curl && rm -rf /var/cache/apk/* ---> Running in 256c35d81f3c fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz (1/4) Installing nghttp2-libs (1.39.2-r0) (2/4) Installing libssh2 (1.9.0-r1) (3/4) Installing libcurl (7.61.1-r3) (4/4) Installing curl (7.61.1-r3) Executing busybox-1.28.4-r3.trigger Executing glibc-bin-2.29-r0.trigger OK: 23 MiB in 27 packages Removing intermediate container 256c35d81f3c ---> dbaaa73b2a85 Step 4/6 : ADD ./build/libs/discovery-microservice-0.0.1-SNAPSHOT.jar /app/ ADD failed: file not found in build context or excluded by .dockerignore: stat build/libs/discovery-microservice-0.0.1-SNAPSHOT.jar: file does not exist ERROR: Service 'discovery-microservice' failed to build : Build failed
I'm revamping project with latest technologies kubernetes, terraform moving away from Netflix stack.
ubuntu@ip-172-31-34-221:~/e-commerce-microservices-sample$ docker-compose up Creating network "e-commerce-microservices-sample_default" with the default driver Building discovery-microservice Sending build context to Docker daemon 11.26kB Step 1/6 : FROM anapsix/alpine-java:8_jdk_unlimited 8_jdk_unlimited: Pulling from anapsix/alpine-java 169185f82c45: Pull complete b6dbdadc155a: Pull complete Digest: sha256:3efbada98b873839aa397df2da30242b4db882f1525b8bd05bd894eda231b1d7 Status: Downloaded newer image for anapsix/alpine-java:8_jdk_unlimited ---> cbe2edd4cf23 Step 2/6 : MAINTAINER Venkata Ravuri venkat@nikhu.com ---> Running in 4045dab75d0c Removing intermediate container 4045dab75d0c ---> 42d76ea6af53 Step 3/6 : RUN apk add --update curl && rm -rf /var/cache/apk/* ---> Running in 256c35d81f3c fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz (1/4) Installing nghttp2-libs (1.39.2-r0) (2/4) Installing libssh2 (1.9.0-r1) (3/4) Installing libcurl (7.61.1-r3) (4/4) Installing curl (7.61.1-r3) Executing busybox-1.28.4-r3.trigger Executing glibc-bin-2.29-r0.trigger OK: 23 MiB in 27 packages Removing intermediate container 256c35d81f3c ---> dbaaa73b2a85 Step 4/6 : ADD ./build/libs/discovery-microservice-0.0.1-SNAPSHOT.jar /app/ ADD failed: file not found in build context or excluded by .dockerignore: stat build/libs/discovery-microservice-0.0.1-SNAPSHOT.jar: file does not exist ERROR: Service 'discovery-microservice' failed to build : Build failed