17 lines
534 B
Docker
17 lines
534 B
Docker
FROM --platform=$TARGETOS/$TARGETARCH adoptopenjdk/openjdk8-openj9:debianslim
|
|
|
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
|
|
|
RUN apt update -y \
|
|
&& apt install -y curl ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 libfreetype6 \
|
|
&& useradd -d /home/container -m container
|
|
|
|
USER container
|
|
ENV USER=container HOME=/home/container
|
|
|
|
WORKDIR /home/container
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
|
|
CMD ["/bin/bash", "/entrypoint.sh"]
|