mirror of
https://github.com/optim-enterprises-bv/siembol.git
synced 2025-11-01 02:47:54 +00:00
Upgrading Storm to 2.3.0 Supporting downloading http enrichment tables Remove multiline string dependency
18 lines
363 B
Java
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
|