forked from pterodactyl/yolks
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a310a8c
commit 0665f93
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |