24 lines
No EOL
663 B
Docker
24 lines
No EOL
663 B
Docker
FROM eclipse-temurin:8-jdk
|
|
|
|
LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
|
|
LABEL upstream="https://github.com/pelican-eggs/yolks"
|
|
|
|
LABEL type="OpenJDK 8"
|
|
|
|
USER root
|
|
RUN apt-get install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 zip unzip
|
|
|
|
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 ["/bin/bash", "-c", "--"]
|
|
CMD ["/entrypoint.sh"] |