Skip to content

Commit

Permalink
fix dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Jul 29, 2024
1 parent 412fc85 commit 420fe5b
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 58 deletions.
20 changes: 11 additions & 9 deletions java/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ LABEL author="Robert Jansen" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/mcjars/pterodactyl-yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar
RUN apt-get update -y \
&& apt-get install -y curl

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
ENV USER=container HOME=/home/container
Expand Down
20 changes: 11 additions & 9 deletions java/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ LABEL author="Robert Jansen" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/mcjars/pterodactyl-yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar
RUN apt-get update -y \
&& apt-get install -y curl

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
ENV USER=container HOME=/home/container
Expand Down
20 changes: 11 additions & 9 deletions java/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ LABEL author="Robert Jansen" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/mcjars/pterodactyl-yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar
RUN apt-get update -y \
&& apt-get install -y curl

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
ENV USER=container HOME=/home/container
Expand Down
20 changes: 11 additions & 9 deletions java/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ LABEL author="Robert Jansen" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/mcjars/pterodactyl-yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar
RUN apt-get update -y \
&& apt-get install -y curl

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
ENV USER=container HOME=/home/container
Expand Down
20 changes: 11 additions & 9 deletions java/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ LABEL author="Robert Jansen" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/mcjars/pterodactyl-yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar
RUN apt-get update -y \
&& apt-get install -y curl

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
ENV USER=container HOME=/home/container
Expand Down
6 changes: 4 additions & 2 deletions java/21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN apt-get update -y \
&& apt-get install -y curl

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
Expand Down
6 changes: 4 additions & 2 deletions java/22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN apt-get update -y \
&& apt-get install -y curl

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
Expand Down
20 changes: 11 additions & 9 deletions java/8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ LABEL author="Robert Jansen" maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/mcjars/pterodactyl-yolks"
LABEL org.opencontainers.image.licenses=MIT

RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile
RUN rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar
RUN apt-get update -y \
&& apt-get install -y curl

RUN apt-get update -y \
&& apt-get install -y jq lsof curl ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container
RUN curl -sSL https://github.com/OpticFusion1/MCAntiMalware/releases/latest/download/MCAntiMalware.jar \
-o /MCAntiMalware.jar

RUN apt-get install -y jq lsof ca-certificates openssl git tar sqlite3 fontconfig libfreetype6 tzdata iproute2 libstdc++6 \
&& useradd -d /home/container -m container

USER container
ENV USER=container HOME=/home/container
Expand Down

0 comments on commit 420fe5b

Please sign in to comment.