FROM eclipse-temurin:17-jdk LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com" LABEL upstream="https://github.com/pelican-eggs/yolks" LABEL type="OpenJDK 17" USER root RUN apt-get update RUN apt-get install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 zip unzip tini 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 RUN chmod +x /entrypoint.sh ENTRYPOINT ["/usr/bin/tini", "-g", "--"] CMD ["/entrypoint.sh"]