Files
siembol/deployment/docker/Dockerfile.java
Marian Novotny 3415ce3909 Upgrading java to java 11 (java 13 in tests) (#405)
Upgrading Storm to 2.3.0
Supporting downloading http enrichment tables
Remove multiline string dependency
2021-11-04 16:12:54 +00:00

18 lines
363 B
Java

FROM openjdk:11-jre-slim
ARG APP
ENV APP=$APP
ARG VERSION
ENV VERSION=$VERSION
RUN adduser --uid 101 --system --no-create-home --disabled-password --home /opt/$APP --shell /sbin/nologin --group $APP
EXPOSE 8080
WORKDIR /opt/$APP
COPY $APP /opt/$APP
USER $APP
CMD exec java $JAVA_OPTS -cp $APP-$VERSION.jar org.springframework.boot.loader.PropertiesLauncher