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
Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...
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