Minimalistic Maven repository manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
299B

  1. FROM maven:3-jdk-11-slim AS build
  2. COPY . /maven
  3. WORKDIR /maven
  4. RUN mvn package
  5. FROM openjdk:8-jdk
  6. ARG VERSION
  7. COPY --from=build /maven/target/repositable-${VERSION}-jar-with-dependencies.jar /app/repositable.jar
  8. WORKDIR /repository
  9. CMD java -jar /app/repositable.jar /etc/repositable.conf.xml