spring-guides/gs-spring-boot-docker

Error: Invalid or corrupt jarfile /app.jar for Gradle on Mac

cmlmonkey opened this issue · 2 comments

my dockerfile :

FROM java:8
VOLUME /tmp
ARG JAR_FILE
RUN echo ${JAR_FILE}
ADD ${JAR_FILE} app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

wf-s commented

@cmlmonkey do you solved the problem

@cmlmonkey do you solved?