We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I’m facing issue, building image for devsecops course. Please find below error.
=> ERROR [3/3] COPY target/.jar /home/k8s-pipeline/app.jar 0.9s [3/3] COPY target/.jar /home/k8s-pipeline/app.jar:
Dockerfile:5 3 | ARG JAR_FILE=target/*.jar 4 | RUN addgroup -S pipeline && adduser -S k8s-pipeline -G pipeline 5 | >>> COPY ${JAR_FILE} /home/k8s-pipeline/app.jar 6 | USER k8s-pipeline 7 | ENTRYPOINT [“java”,“-jar”,“/home/k8s-pipeline/app.jar”] ERROR: failed to solve: lstat /var/lib/docker/tmp/buildkit-mount3223575882/target: no such file or directory
i couldn't find target directory and jar file in this repository.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I’m facing issue, building image for devsecops course. Please find below error.
=> ERROR [3/3] COPY target/.jar /home/k8s-pipeline/app.jar 0.9s
[3/3] COPY target/.jar /home/k8s-pipeline/app.jar:
Dockerfile:5
3 | ARG JAR_FILE=target/*.jar
4 | RUN addgroup -S pipeline && adduser -S k8s-pipeline -G pipeline
5 | >>> COPY ${JAR_FILE} /home/k8s-pipeline/app.jar
6 | USER k8s-pipeline
7 | ENTRYPOINT [“java”,“-jar”,“/home/k8s-pipeline/app.jar”]
ERROR: failed to solve: lstat /var/lib/docker/tmp/buildkit-mount3223575882/target: no such file or directory
i couldn't find target directory and jar file in this repository.
The text was updated successfully, but these errors were encountered: