#apply patch [root@k8s-master ~]# cat Dockerfile FROM openjdk:8-jdk MAINTAINER gnoti VOLUME /tmp ARG JAR_FILE=test.springboot.netty-0.0.1-SNAPSHOT.jar COPY ${JAR_FILE} app.jar ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"] EXPOSE 8088[root@k8s-master ~]# [root@k8s-master ~]# docker build -t gnotiboot . Sending build context to Docker daemon 157MB Step 1/7 : FROM openjdk:8-jdk ---> 3e50df58f25e Step 2/7 : MAINTAINER gnoti ---> Running in e3a88d96f015 Removing intermediate container e3a88d96f015 ---> 5cfc31ae7709 Step 3/7 : VOLUME /tmp ---> Running in 7c87f897218c Removing intermediate container 7c87f897218c ---> 002b046cc33b Step 4/7 : ARG JAR_FILE=test.springboot.netty-0.0.1-SNAPSHOT.jar ---> Running in 805698ab8292 Removing intermediate container 805698ab8292 ---> 539b5c4b2e87 Step 5/7 : COPY ${JAR_FILE} app.jar ---> ea2812dc02e7 Step 6/7 : ENTRYPOINT ["java",...
댓글
댓글 쓰기