forked from pterodactyl/yolks
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup java images --------- Co-authored-by: gOOvER <[email protected]>
- Loading branch information
Showing
8 changed files
with
120 additions
and
30 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
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 |
---|---|---|
|
@@ -3,14 +3,24 @@ FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-11-jdk | |
LABEL author="Michael Parker" maintainer="[email protected]" | ||
|
||
RUN apt update -y \ | ||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \ | ||
&& useradd -d /home/container -m container | ||
&& apt install -y \ | ||
curl \ | ||
lsof \ | ||
ca-certificates \ | ||
openssl \ | ||
git \ | ||
tar \ | ||
sqlite3 \ | ||
fontconfig \ | ||
tzdata \ | ||
iproute2 \ | ||
libfreetype6 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
|
||
WORKDIR /home/container | ||
|
||
COPY ./entrypoint.sh /entrypoint.sh | ||
|
||
CMD ["/bin/bash", "/entrypoint.sh"] | ||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |
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
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 |
---|---|---|
|
@@ -3,14 +3,24 @@ FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-16-jdk | |
LABEL author="Michael Parker" maintainer="[email protected]" | ||
|
||
RUN apt update -y \ | ||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \ | ||
&& useradd -d /home/container -m container | ||
&& apt install -y \ | ||
curl \ | ||
lsof \ | ||
ca-certificates \ | ||
openssl \ | ||
git \ | ||
tar \ | ||
sqlite3 \ | ||
fontconfig \ | ||
tzdata \ | ||
iproute2 \ | ||
libfreetype6 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
|
||
WORKDIR /home/container | ||
|
||
COPY ./entrypoint.sh /entrypoint.sh | ||
|
||
CMD ["/bin/bash", "/entrypoint.sh"] | ||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |
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 |
---|---|---|
@@ -1,14 +1,26 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-focal | ||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-jammy | ||
|
||
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 lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \ | ||
&& useradd -d /home/container -m container | ||
&& apt install -y \ | ||
curl \ | ||
lsof \ | ||
ca-certificates \ | ||
openssl \ | ||
git \ | ||
tar \ | ||
sqlite3 \ | ||
fontconfig \ | ||
tzdata \ | ||
iproute2 \ | ||
libfreetype6 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
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 |
---|---|---|
@@ -1,14 +1,26 @@ | ||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-focal | ||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-jammy | ||
|
||
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 lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \ | ||
&& useradd -d /home/container -m container | ||
&& apt install -y \ | ||
curl \ | ||
lsof \ | ||
ca-certificates \ | ||
openssl \ | ||
git \ | ||
tar \ | ||
sqlite3 \ | ||
fontconfig \ | ||
tzdata \ | ||
iproute2 \ | ||
libfreetype6 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
WORKDIR /home/container | ||
|
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
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 |
---|---|---|
|
@@ -3,14 +3,24 @@ FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-8-jdk | |
LABEL author="Michael Parker" maintainer="[email protected]" | ||
|
||
RUN apt update -y \ | ||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \ | ||
&& useradd -d /home/container -m container | ||
&& apt install -y \ | ||
curl \ | ||
lsof \ | ||
ca-certificates \ | ||
openssl \ | ||
git \ | ||
tar \ | ||
sqlite3 \ | ||
fontconfig \ | ||
tzdata \ | ||
iproute2 \ | ||
libfreetype6 | ||
|
||
## Setup user and working directory | ||
RUN useradd -m -d /home/container -s /bin/bash container | ||
USER container | ||
ENV USER=container HOME=/home/container | ||
|
||
WORKDIR /home/container | ||
|
||
COPY ./entrypoint.sh /entrypoint.sh | ||
|
||
CMD ["/bin/bash", "/entrypoint.sh"] | ||
COPY ./../entrypoint.sh /entrypoint.sh | ||
CMD [ "/bin/bash", "/entrypoint.sh" ] |