Answer the question
In order to leave comments, you need to log in
Why is the image not being built from the Dockerfile?
I got the jar via mvn install in target and after that created a simple dockerfile, this is what it looks like
FROM openjdk:11
VOLUME /tmp
COPY target/minikube-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "app.jar"]
Sending build context to Docker daemon...
[> ] 8.192kB
Failed to deploy ' Dockerfile: Dockerfile': Error while executing Request{method=POST, path=/v1.40/build?t=dennisKingsman%2Flucky-app&rm=true , body=com.intel[email protected]47f2f19b, bodyBytes=null, hijackedInput=null, headers={accept=application/json, Content-Type=application/tar, encoding=gzip}}
{
"userland-proxy": false
}
Sending build context to Docker daemon...?
Answer the question
In order to leave comments, you need to log in
in the settings of the dockerfile, I specified the name of the tag with the uppercase, you can’t do this, so the assembly fell, after fixing everything worked out
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question