Hi fellows! Please help with the error below?
I have a problem that my second step with Docker is not able to find the JAR produced in the first step. In my docker file I have:
Inside my Dockerfile:
COPY TEST.jar /inside/docker/dir/TEST.jar
Step 14/19: COPY TEST*.jar /inside/docker/dir/TEST.jar
ERROR: COPY failed: no source files were specified
name: Build jar
- bash ./gradlew build
- "*.jar" //Here I have tried with: target/** , build/lib/**, **.jar -> Neither of them worked!!!
name: Build and publish docker image
- docker login --username $DOCKER_USER --password $DOCKER_PASSWORD
- docker build -t ***/test:latest .
- docker push ***/test:latest
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events