Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Argon2 in Java Containers and Optimize Image Size #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion java/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/11j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/16j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/17j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/18j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/19j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down
4 changes: 3 additions & 1 deletion java/8j9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolk
LABEL org.opencontainers.image.licenses=MIT

RUN apt-get update -y \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& apt-get install -y lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 libargon2-dev \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/lib/$(arch)-linux-gnu/libargon2.so /usr/lib/libargon2.so \
&& useradd -d /home/container -m container

USER container
Expand Down