Skip to content

Commit

Permalink
Update Dockerfile maven version
Browse files Browse the repository at this point in the history
Lighty 17.x uses java version 17

JIRA: LIGHTY-96
Signed-off-by: tobias.pobocik <[email protected]>
  • Loading branch information
Tobianas authored and ihrasko committed Oct 24, 2022
1 parent 5246aa1 commit 1999850
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lighty-rnc-app/simulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ FROM alpine/git as clone
WORKDIR /netconf-simulator
RUN git clone https://github.com/PANTHEONtech/lighty-netconf-simulator.git -b 17.0.0

FROM maven:3.8-jdk-11-slim as build
FROM maven:3.8.5-openjdk-17-slim as build
WORKDIR /lighty-netconf-simulator
COPY --from=clone /netconf-simulator/lighty-netconf-simulator /lighty-netconf-simulator
RUN mvn -B install -DskipTests

FROM openjdk:11-jre-slim
FROM alpine:latest
RUN apk add openjdk17-jre
WORKDIR /lighty-netconf-simulator
COPY --from=build /lighty-netconf-simulator/examples/devices/lighty-network-topology-device/target/ /lighty-netconf-simulator/target

Expand Down

0 comments on commit 1999850

Please sign in to comment.