Skip to content

Commit

Permalink
chore: upgrade Java versions in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zregvart committed Apr 14, 2020
1 parent deab405 commit b9fa537
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,12 +1,12 @@
FROM maven:3-jdk-8 AS build
FROM maven:3-jdk-11 AS build
WORKDIR /build
COPY pom.xml ./
RUN mvn -U -B -q dependency:go-offline
COPY src src
RUN mvn -B -q package -Dtarget=camel-netty-proxy
RUN mvn -B -q package dependency:copy-dependencies

FROM openjdk:8-jre
FROM openjdk:11-jre
WORKDIR /app
VOLUME /tmp
EXPOSE 8080
Expand Down

0 comments on commit b9fa537

Please sign in to comment.