Skip to content

Commit

Permalink
Create DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
PterodactylFan authored Sep 24, 2022
1 parent a310a8c commit 0665f93
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions java/19/DockerFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM --platform=$TARGETOS/$TARGETARCH openjdk:19-slim

LABEL author="Michael Parker" maintainer="[email protected]"

LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN apt update -y \
&& apt install -y curl ca-certificates openssl git tar sqlite3 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" ]

0 comments on commit 0665f93

Please sign in to comment.