Cleanup java images (#175)
Cleanup java images --------- Co-authored-by: gOOvER <116325+gOOvER@users.noreply.github.com>
This commit is contained in:
@@ -6,9 +6,21 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
|
|||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
@@ -3,14 +3,24 @@ FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-11-jdk
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
|
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
||||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
|
||||||
|
@@ -6,9 +6,21 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
|
|||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
@@ -3,14 +3,24 @@ FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-16-jdk
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
|
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
||||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-focal
|
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-jammy
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
@@ -6,9 +6,21 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
|
|||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-focal
|
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-jammy
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
@@ -6,9 +6,21 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
|
|||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
@@ -6,9 +6,21 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
|
|||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
@@ -3,14 +3,24 @@ FROM --platform=$TARGETOS/$TARGETARCH ibm-semeru-runtimes:open-8-jdk
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl lsof ca-certificates openssl git tar sqlite3 fontconfig tzdata iproute2 libfreetype6 \
|
&& apt install -y \
|
||||||
&& useradd -d /home/container -m container
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
|
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
||||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
|
||||||
|
Reference in New Issue
Block a user