From df8e313cba20d2ef64332279ef4d6d75d97691dc Mon Sep 17 00:00:00 2001 From: Lovinoes Date: Wed, 21 Aug 2024 01:54:38 +0200 Subject: [PATCH] Create Dockerfile --- java-zulu/8/Dockerfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 java-zulu/8/Dockerfile diff --git a/java-zulu/8/Dockerfile b/java-zulu/8/Dockerfile new file mode 100644 index 0000000..bdc22da --- /dev/null +++ b/java-zulu/8/Dockerfile @@ -0,0 +1,30 @@ +FROM azul/zulu-openjdk:8 + +# Metadata +LABEL author="Lovinoes" maintainer="lovinoes@lovinoes.de" +LABEL org.opencontainers.image.source="https://github.com/lovinoes/images" +LABEL org.opencontainers.image.licenses="MIT" + +ENV DEBIAN_FRONTEND noninteractive + +# Install necessary packages +RUN apt-get update \ + && apt-get -y install --no-install-recommends ffmpeg iproute2 git sqlite3 python3 tzdata ca-certificates dnsutils fontconfig libfreetype6 libstdc++6 lsof build-essential locales \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && useradd -m -d /home/container container \ + && locale-gen en_US.UTF-8 + +# Set locale and language environment variables +ENV LC_ALL=en_US.UTF-8 +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US.UTF-8 + +# Copy the entrypoint script +USER container +ENV USER=container HOME=/home/container +WORKDIR /home/container + +# Set the entrypoint command +COPY ./entrypoint.sh /entrypoint.sh +CMD [ "/bin/bash", "/entrypoint.sh" ]