diff --git a/Dockerfile b/Dockerfile index d7b7081..32e79c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,18 @@ # Environment: Java (glibc support) # Minimum Panel Version: 0.6.0 # ---------------------------------- -FROM azul/zulu-openjdk-debian:8 +FROM debian:9.11-slim LABEL author="WGOS" maintainer="wgos@wgos.org" RUN apt update && apt upgrade -y \ - && apt install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 \ + && apt install -y gnupg \ + && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 \ + --recv-keys 0xB1998361219BD9C9 \ + && echo "deb http://repos.azulsystems.com/debian stable main" >> /etc/apt/sources.list.d/zulu.list \ + && mkdir -p /usr/share/man/man1 \ + && apt update \ + && apt install -y --no-install-recommends tzdata zre-8 \ && useradd -d /home/container -m container USER container @@ -18,4 +24,4 @@ WORKDIR /home/container COPY ./entrypoint.sh /entrypoint.sh -CMD ["/bin/bash", "/entrypoint.sh"] \ No newline at end of file +CMD ["/bin/bash", "/entrypoint.sh"]