Add jdk 16

This commit is contained in:
zontreck 2024-09-03 16:45:21 -07:00
parent 088014db3a
commit c22afc950d
4 changed files with 72 additions and 6 deletions

View file

@ -1,12 +1,20 @@
FROM git.zontreck.com/ariascreations/yolks:debian
FROM eclipse-temurin:11-jdk
LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
LABEL upstream="https://github.com/pelican-eggs/yolks"
LABEL type="OpenJDK 11"
USER root
RUN apt-get install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 zip unzip
# Install OpenJDK 8
RUN apt-get install -y openjdk-11-jdk
RUN useradd -m -d /home/container -s /bin/bash container
ENV USER=container HOME=/home/container
USER container
ENV USER=container HOME=/home/container
STOPSIGNAL SIGINT
USER container
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh