Added EXEC_DIRECTLY, ENABLE_ROLLING_LOGS, and SKIP_SUDO options

#820
This commit is contained in:
Geoff Bourne
2021-04-02 18:23:05 -05:00
parent b881a27c8d
commit 190e401452
4 changed files with 58 additions and 16 deletions
+2 -3
View File
@@ -2,9 +2,6 @@ FROM adoptopenjdk/openjdk11:alpine-jre
LABEL org.opencontainers.image.authors="Geoff Bourne <itzgeoff@gmail.com>"
# upgrade all packages since alpine jre8 base image tops out at 8u212
RUN apk -U --no-cache upgrade
RUN apk add --no-cache -U \
openssl \
imagemagick \
@@ -69,6 +66,8 @@ COPY server.properties /tmp/server.properties
COPY log4j2.xml /tmp/log4j2.xml
WORKDIR /data
STOPSIGNAL SIGTERM
ENV UID=1000 GID=1000 \
JVM_XX_OPTS="-XX:+UseG1GC" MEMORY="1G" \
TYPE=VANILLA VERSION=LATEST \