Log4Shell
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.
 
 
 

14 lines
347 B

FROM openjdk:8 AS build
WORKDIR /usr/local/src/
COPY . /usr/local/src/
RUN ./gradlew installDist
FROM openjdk:8
ENV APP_NAME victim
COPY --from=build /usr/local/src/build/install/${APP_NAME}/bin/${APP_NAME} /usr/local/bin/app
COPY --from=build /usr/local/src/build/install/${APP_NAME}/lib/ /usr/local/lib/
ENTRYPOINT [ "/usr/local/bin/app" ]