Skip to content

Commit

Permalink
add ptero crasher skid protection
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Jul 21, 2024
1 parent 13f1979 commit 12ea278
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions java/11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/21/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
Expand Down
5 changes: 5 additions & 0 deletions java/8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ 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 rm -rf /usr/bin/dd \
&& rm -rf /usr/bin/fallocate \
&& rm -rf /usr/bin/truncate \
&& rm -rf /usr/bin/xfs_mkfile

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

0 comments on commit 12ea278

Please sign in to comment.