- In order to install and configure your Mac, you need to be an Administrator on your computer. Either, contact Paul or Charlie, and they will create an account for you.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maven:3-openjdk-8 AS builder | |
COPY src /tmp/src | |
RUN mvn -f /tmp/src clean package -DskipTests | |
FROM openjdk: | |
COPY --from=builder /tmp/src/target/myjar-0.0.1-SNAPSHOT.jar /tmp/run/myjar.jar | |
WORKDIR /tmp/run | |
CMD ["java","-jar","myjar.jar"] |