Skip to content

Commit

Permalink
⬆️ 升级到 JDK 11 #60
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jan 15, 2022
1 parent 68019c5 commit 5061ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM maven:3-jdk-8-alpine as MVN_BUILD
FROM maven:3-jdk-11-alpine as MVN_BUILD

WORKDIR /opt/sym/
ADD . /tmp
RUN cd /tmp && mvn package -DskipTests -Pci -q && mv target/symphony/* /opt/sym/ \
&& cp -f /tmp/src/main/resources/docker/* /opt/sym/

FROM openjdk:8-alpine
FROM openjdk:11-alpine
LABEL maintainer="Liang Ding<[email protected]>"

WORKDIR /opt/sym/
Expand Down

0 comments on commit 5061ae9

Please sign in to comment.