diff --git a/apps/uptimekuma/Dockerfile b/apps/uptimekuma/Dockerfile index ab0f04690..47c0d3fa1 100644 --- a/apps/uptimekuma/Dockerfile +++ b/apps/uptimekuma/Dockerfile @@ -48,6 +48,10 @@ RUN chmod +x /usr/bin/cloudflared # install apprise RUN pipx install apprise +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN adduser -D -h /home/container container -s /bin/bash container USER container diff --git a/bot/bastion/Dockerfile b/bot/bastion/Dockerfile index 98bee7b07..13dd27a74 100644 --- a/bot/bastion/Dockerfile +++ b/bot/bastion/Dockerfile @@ -13,7 +13,10 @@ RUN apt update && apt install --no-install-recommends -y curl apt-transport-http && apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata tini \ ## add container user && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/bot/parkertron/Dockerfile b/bot/parkertron/Dockerfile index f41042665..1ed88d8fb 100644 --- a/bot/parkertron/Dockerfile +++ b/bot/parkertron/Dockerfile @@ -11,7 +11,10 @@ RUN apt update -y \ libtesseract-dev tesseract-ocr-eng \ # add container user to run application && useradd -m -d /home/container 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 diff --git a/bot/red/Dockerfile b/bot/red/Dockerfile index 69ba83bd6..69d8c9f0e 100644 --- a/bot/red/Dockerfile +++ b/bot/red/Dockerfile @@ -41,7 +41,10 @@ RUN pip install python-forecastio tweepy unidecode mcstatus bs4 sqlalc RUN mkdir -p /home/container/.config/Red-DiscordBot/ RUN ln -s /home/container/.config/Red-DiscordBot/ /usr/local/share/Red-DiscordBot - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/bot/sinusbot/Dockerfile b/bot/sinusbot/Dockerfile index bba2c0c16..17a50650f 100644 --- a/bot/sinusbot/Dockerfile +++ b/bot/sinusbot/Dockerfile @@ -16,7 +16,10 @@ RUN apt update \ ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 - +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 diff --git a/box64/Dockerfile b/box64/Dockerfile index d0ae99e79..3698a0e48 100644 --- a/box64/Dockerfile +++ b/box64/Dockerfile @@ -23,7 +23,10 @@ RUN wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt && wget -qO- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg \ && apt update && apt install box64-rpi4arm64 -y - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN useradd -d /home/container -m container USER container diff --git a/bun/canary/Dockerfile b/bun/canary/Dockerfile index 6c96fff44..93412e424 100644 --- a/bun/canary/Dockerfile +++ b/bun/canary/Dockerfile @@ -7,7 +7,10 @@ RUN apt update \ && useradd -m -d /home/container container RUN bun upgrade - +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 diff --git a/bun/latest/Dockerfile b/bun/latest/Dockerfile index 44da1a3af..d45374105 100644 --- a/bun/latest/Dockerfile +++ b/bun/latest/Dockerfile @@ -7,7 +7,10 @@ RUN apt update \ && useradd -m -d /home/container container RUN bun upgrade - +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 diff --git a/cassandra/java11_python3/Dockerfile b/cassandra/java11_python3/Dockerfile index a8e16174d..b0c225274 100644 --- a/cassandra/java11_python3/Dockerfile +++ b/cassandra/java11_python3/Dockerfile @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache python3 py3-tz ca-certificates curl fontconfig git openssl sqlite tar tzdata \ && adduser -D -h /home/container 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 diff --git a/cassandra/java8_python2/Dockerfile b/cassandra/java8_python2/Dockerfile index c592095ca..d44b9b5d1 100644 --- a/cassandra/java8_python2/Dockerfile +++ b/cassandra/java8_python2/Dockerfile @@ -8,7 +8,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache python2 ca-certificates curl fontconfig git openssl sqlite tar tzdata \ && python -m ensurepip --upgrade && pip install pytz \ && adduser -D -h /home/container 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 diff --git a/dart/2.17/Dockerfile b/dart/2.17/Dockerfile index c0bced4cf..41b1ad495 100644 --- a/dart/2.17/Dockerfile +++ b/dart/2.17/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install iproute2 git ca-certificates tzdata tini \ && useradd -m -d /home/container 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 diff --git a/dart/2.18/Dockerfile b/dart/2.18/Dockerfile index 73320c623..07b91c1fc 100644 --- a/dart/2.18/Dockerfile +++ b/dart/2.18/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install iproute2 git ca-certificates tzdata tini \ && useradd -m -d /home/container 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 diff --git a/dart/2.19/Dockerfile b/dart/2.19/Dockerfile index 75fe8ecee..825af3e83 100644 --- a/dart/2.19/Dockerfile +++ b/dart/2.19/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install iproute2 git ca-certificates tzdata tini \ && useradd -m -d /home/container 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 diff --git a/dart/3.3/Dockerfile b/dart/3.3/Dockerfile index 957651d23..1e53656be 100644 --- a/dart/3.3/Dockerfile +++ b/dart/3.3/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install iproute2 git ca-certificates tzdata tini \ && useradd -m -d /home/container 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 diff --git a/dart/stable/Dockerfile b/dart/stable/Dockerfile index 49b68f6e6..4606d8e7b 100644 --- a/dart/stable/Dockerfile +++ b/dart/stable/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install iproute2 git ca-certificates tzdata tini \ && useradd -m -d /home/container 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 diff --git a/dotnet/2.1/Dockerfile b/dotnet/2.1/Dockerfile index 8bd7231fc..9b9ff014b 100644 --- a/dotnet/2.1/Dockerfile +++ b/dotnet/2.1/Dockerfile @@ -12,7 +12,10 @@ RUN apt update -y \ && chmod +x dotnet-install.sh \ && ./dotnet-install.sh -i /usr/share -v $D_V \ && ln -s /usr/share/dotnet /usr/bin/dotnet - +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 diff --git a/dotnet/3.1/Dockerfile b/dotnet/3.1/Dockerfile index 752bd6ea4..7c6f54534 100644 --- a/dotnet/3.1/Dockerfile +++ b/dotnet/3.1/Dockerfile @@ -13,7 +13,10 @@ RUN apt update -y \ && ./dotnet-install.sh -i /usr/share -v $D_V \ && ln -s /usr/share/dotnet /usr/bin/dotnet - +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 diff --git a/dotnet/5/Dockerfile b/dotnet/5/Dockerfile index cc89c5a52..9c2fee042 100644 --- a/dotnet/5/Dockerfile +++ b/dotnet/5/Dockerfile @@ -12,7 +12,10 @@ RUN apt update -y \ && chmod +x dotnet-install.sh \ && ./dotnet-install.sh -i /usr/share -v $D_V \ && ln -s /usr/share/dotnet /usr/bin/dotnet - +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 diff --git a/dotnet/6/Dockerfile b/dotnet/6/Dockerfile index 910824d1a..b2f07068c 100644 --- a/dotnet/6/Dockerfile +++ b/dotnet/6/Dockerfile @@ -12,7 +12,10 @@ RUN apt update -y \ && chmod +x dotnet-install.sh \ && ./dotnet-install.sh -i /usr/share -v $D_V \ && ln -s /usr/share/dotnet /usr/bin/dotnet - +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 diff --git a/dotnet/7/Dockerfile b/dotnet/7/Dockerfile index 2d05ead9f..bfa495550 100644 --- a/dotnet/7/Dockerfile +++ b/dotnet/7/Dockerfile @@ -12,7 +12,10 @@ RUN apt update -y \ && chmod +x dotnet-install.sh \ && ./dotnet-install.sh -i /usr/share -v $D_V \ && ln -s /usr/share/dotnet /usr/bin/dotnet - +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 diff --git a/dotnet/8/Dockerfile b/dotnet/8/Dockerfile index 1cfc6daa2..b9dc7210e 100644 --- a/dotnet/8/Dockerfile +++ b/dotnet/8/Dockerfile @@ -12,7 +12,10 @@ RUN apt update -y \ && chmod +x dotnet-install.sh \ && ./dotnet-install.sh -i /usr/share -v $D_V \ && ln -s /usr/share/dotnet /usr/bin/dotnet - +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 diff --git a/elixir/1.12/Dockerfile b/elixir/1.12/Dockerfile index 022ecfad3..af9ed321f 100644 --- a/elixir/1.12/Dockerfile +++ b/elixir/1.12/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini \ && useradd -m -d /home/container 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 diff --git a/elixir/1.13/Dockerfile b/elixir/1.13/Dockerfile index 47c488302..9587ec76e 100644 --- a/elixir/1.13/Dockerfile +++ b/elixir/1.13/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini \ && useradd -m -d /home/container 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 diff --git a/elixir/1.14/Dockerfile b/elixir/1.14/Dockerfile index fd886eb3d..6c6ff8ffa 100644 --- a/elixir/1.14/Dockerfile +++ b/elixir/1.14/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini \ && useradd -m -d /home/container 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 diff --git a/elixir/1.15/Dockerfile b/elixir/1.15/Dockerfile index 75255cb65..13c4d4ecb 100644 --- a/elixir/1.15/Dockerfile +++ b/elixir/1.15/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini \ && useradd -m -d /home/container 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 diff --git a/elixir/latest/Dockerfile b/elixir/latest/Dockerfile index f50ab9aab..5cdd24302 100644 --- a/elixir/latest/Dockerfile +++ b/elixir/latest/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini \ && useradd -m -d /home/container 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 diff --git a/erlang/22/Dockerfile b/erlang/22/Dockerfile index cc5e9e402..19fc182d4 100644 --- a/erlang/22/Dockerfile +++ b/erlang/22/Dockerfile @@ -8,6 +8,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container 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 diff --git a/erlang/23/Dockerfile b/erlang/23/Dockerfile index 356a4cc30..d497caf20 100644 --- a/erlang/23/Dockerfile +++ b/erlang/23/Dockerfile @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2\ && adduser -D -h /home/container 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 diff --git a/erlang/24/Dockerfile b/erlang/24/Dockerfile index 919e7a50e..e8dfa6e55 100644 --- a/erlang/24/Dockerfile +++ b/erlang/24/Dockerfile @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container 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 diff --git a/erlang/25/Dockerfile b/erlang/25/Dockerfile index 8c257ee5c..6d525ad11 100644 --- a/erlang/25/Dockerfile +++ b/erlang/25/Dockerfile @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container 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 diff --git a/erlang/26/Dockerfile b/erlang/26/Dockerfile index a26191090..ab4f3f991 100644 --- a/erlang/26/Dockerfile +++ b/erlang/26/Dockerfile @@ -7,7 +7,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \ && adduser -D -h /home/container 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 diff --git a/games/altv/Dockerfile b/games/altv/Dockerfile index ae54973f4..3794865a0 100644 --- a/games/altv/Dockerfile +++ b/games/altv/Dockerfile @@ -23,6 +23,10 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft- RUN update-locale lang=en_US.UTF-8 \ && dpkg-reconfigure --frontend noninteractive locales +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 diff --git a/games/arma3/Dockerfile b/games/arma3/Dockerfile index 3cab4896d..33e911b69 100644 --- a/games/arma3/Dockerfile +++ b/games/arma3/Dockerfile @@ -43,6 +43,10 @@ RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ ADD passwd.template /passwd.template ## Setup user and working directory +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN useradd -m -d /home/container -s /bin/bash container USER container ENV USER=container HOME=/home/container diff --git a/games/dayz/Dockerfile b/games/dayz/Dockerfile index a0eb415c5..65d22cd5a 100644 --- a/games/dayz/Dockerfile +++ b/games/dayz/Dockerfile @@ -46,6 +46,10 @@ RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \ ADD passwd.template /passwd.template ## Setup user and working directory +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN useradd -m -d /home/container -s /bin/bash container USER container ENV USER=container HOME=/home/container diff --git a/games/minetest/Dockerfile b/games/minetest/Dockerfile index 50ead4a02..0bbf5ea86 100644 --- a/games/minetest/Dockerfile +++ b/games/minetest/Dockerfile @@ -7,7 +7,10 @@ RUN apt update -y \ RUN add-apt-repository -y ppa:minetestdevs/stable RUN apt update && apt -y install minetest - +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 diff --git a/games/mohaa/Dockerfile b/games/mohaa/Dockerfile index 353d28e9e..35cb8bd62 100644 --- a/games/mohaa/Dockerfile +++ b/games/mohaa/Dockerfile @@ -4,7 +4,10 @@ LABEL author="Manuel Dielacher" maintainer="th3dilli@gmx.at" LABEL org.opencontainers.image.source="https://github.com/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 dpkg --add-architecture i386 \ && apt update && apt upgrade -y \ && apt install -y lib32gcc-s1 lib32stdc++6 libstdc++5:i386 diff --git a/games/mta/Dockerfile b/games/mta/Dockerfile index baa9d17b0..428aeee0b 100644 --- a/games/mta/Dockerfile +++ b/games/mta/Dockerfile @@ -12,7 +12,10 @@ RUN apt update \ ## install dependencies RUN apt install -y iproute2 tar libssl1.1 curl git default-libmysqlclient-dev libmysqlclient-dev libreadline-gplv2-dev libncurses5-dev libncursesw5-dev \ libtool zip unzip libncurses5 libncursesw5 python3 openssl locales ffmpeg apt-transport-https libc6 binutils xz-utils liblua5.1-0 - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## configure locale RUN update-locale lang=en_US.UTF-8 \ && dpkg-reconfigure --frontend noninteractive locales diff --git a/games/samp/Dockerfile b/games/samp/Dockerfile index ba6198a11..a3049184e 100644 --- a/games/samp/Dockerfile +++ b/games/samp/Dockerfile @@ -20,7 +20,10 @@ RUN if [ "$(uname -m)" = "x86_64" ]; then \ dpkg -i libssl1.1_1.1.0g-2ubuntu4_i386.deb && \ rm libssl1.1_1.1.0g-2ubuntu4_i386.deb; \ fi - +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 diff --git a/games/thebattleforwesnoth/Dockerfile b/games/thebattleforwesnoth/Dockerfile index d1c33cee5..ad65c284c 100644 --- a/games/thebattleforwesnoth/Dockerfile +++ b/games/thebattleforwesnoth/Dockerfile @@ -12,6 +12,10 @@ RUN apt install -y gcc g++ libgcc1 libc++-dev gdb libc6 git tar zip unzip libs ## add container user +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN useradd -m -d /home/container -s /bin/bash container USER container ENV USER=container HOME=/home/container diff --git a/games/valheim/Dockerfile b/games/valheim/Dockerfile index 8dde544d3..96771ccd6 100644 --- a/games/valheim/Dockerfile +++ b/games/valheim/Dockerfile @@ -20,7 +20,10 @@ RUN dpkg --add-architecture i386 \ RUN update-locale lang=en_US.UTF-8 \ && dpkg-reconfigure --frontend noninteractive locales - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/go/1.14/Dockerfile b/go/1.14/Dockerfile index 9a0116c3d..c60ec67ed 100644 --- a/go/1.14/Dockerfile +++ b/go/1.14/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.15/Dockerfile b/go/1.15/Dockerfile index 730d97ccc..9e2b66074 100644 --- a/go/1.15/Dockerfile +++ b/go/1.15/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.16/Dockerfile b/go/1.16/Dockerfile index 821603ed2..c83d21533 100644 --- a/go/1.16/Dockerfile +++ b/go/1.16/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.17/Dockerfile b/go/1.17/Dockerfile index e23b42b56..8f6e482d7 100644 --- a/go/1.17/Dockerfile +++ b/go/1.17/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.18/Dockerfile b/go/1.18/Dockerfile index 0058849ea..aa6fd8a0e 100644 --- a/go/1.18/Dockerfile +++ b/go/1.18/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.19/Dockerfile b/go/1.19/Dockerfile index 8cb2d86d6..4a66a6baa 100644 --- a/go/1.19/Dockerfile +++ b/go/1.19/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.20/Dockerfile b/go/1.20/Dockerfile index 0a1144683..647a6a7df 100644 --- a/go/1.20/Dockerfile +++ b/go/1.20/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.21/Dockerfile b/go/1.21/Dockerfile index 33443e5f6..1c428910a 100644 --- a/go/1.21/Dockerfile +++ b/go/1.21/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/go/1.22/Dockerfile b/go/1.22/Dockerfile index b83cb95a8..bcf862880 100644 --- a/go/1.22/Dockerfile +++ b/go/1.22/Dockerfile @@ -29,7 +29,10 @@ LABEL org.opencontainers.image.licenses=MIT RUN apk add --update --no-cache ca-certificates tzdata \ && adduser -D -h /home/container 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 diff --git a/java/11/Dockerfile b/java/11/Dockerfile index 4f3c6a43f..89d890a4c 100644 --- a/java/11/Dockerfile +++ b/java/11/Dockerfile @@ -22,7 +22,10 @@ RUN apt update -y \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/11j9/Dockerfile b/java/11j9/Dockerfile index 3b6673afd..17bec6265 100644 --- a/java/11j9/Dockerfile +++ b/java/11j9/Dockerfile @@ -18,7 +18,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/16/Dockerfile b/java/16/Dockerfile index 77e37f795..a4f04a895 100644 --- a/java/16/Dockerfile +++ b/java/16/Dockerfile @@ -21,7 +21,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/16j9/Dockerfile b/java/16j9/Dockerfile index 6ba7827cb..1595fc2ce 100644 --- a/java/16j9/Dockerfile +++ b/java/16j9/Dockerfile @@ -18,7 +18,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/17/Dockerfile b/java/17/Dockerfile index 842fa389e..96d7b0063 100644 --- a/java/17/Dockerfile +++ b/java/17/Dockerfile @@ -21,7 +21,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/19/Dockerfile b/java/19/Dockerfile index 5f5079b16..70d8e5ffa 100644 --- a/java/19/Dockerfile +++ b/java/19/Dockerfile @@ -21,7 +21,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/21/Dockerfile b/java/21/Dockerfile index b7da30c77..62d9406d3 100644 --- a/java/21/Dockerfile +++ b/java/21/Dockerfile @@ -21,7 +21,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/8/Dockerfile b/java/8/Dockerfile index bf1c4f111..77f0410cb 100644 --- a/java/8/Dockerfile +++ b/java/8/Dockerfile @@ -21,7 +21,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/java/8j9/Dockerfile b/java/8j9/Dockerfile index ba3a62a52..ac587b522 100644 --- a/java/8j9/Dockerfile +++ b/java/8j9/Dockerfile @@ -18,7 +18,10 @@ RUN apt update -y \ tini \ zip \ unzip - +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## Setup user and working directory RUN useradd -m -d /home/container -s /bin/bash container USER container diff --git a/mariadb/10.3/Dockerfile b/mariadb/10.3/Dockerfile index 9b4fed2db..9b0d02d15 100644 --- a/mariadb/10.3/Dockerfile +++ b/mariadb/10.3/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/10.4/Dockerfile b/mariadb/10.4/Dockerfile index 7a2d5666c..8020cbc62 100644 --- a/mariadb/10.4/Dockerfile +++ b/mariadb/10.4/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/10.5/Dockerfile b/mariadb/10.5/Dockerfile index 9bd15ca7b..839f09ac0 100644 --- a/mariadb/10.5/Dockerfile +++ b/mariadb/10.5/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/10.6/Dockerfile b/mariadb/10.6/Dockerfile index 31881f13f..29eadeef4 100644 --- a/mariadb/10.6/Dockerfile +++ b/mariadb/10.6/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/10.7/Dockerfile b/mariadb/10.7/Dockerfile index ff45617b5..a62c7e79c 100644 --- a/mariadb/10.7/Dockerfile +++ b/mariadb/10.7/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/11.2/Dockerfile b/mariadb/11.2/Dockerfile index d4ee27029..e4e8cb1ce 100644 --- a/mariadb/11.2/Dockerfile +++ b/mariadb/11.2/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/11.3/Dockerfile b/mariadb/11.3/Dockerfile index fb70e1e0a..8e839a61c 100644 --- a/mariadb/11.3/Dockerfile +++ b/mariadb/11.3/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mariadb/11.4/Dockerfile b/mariadb/11.4/Dockerfile index b39609f37..3d69ba020 100644 --- a/mariadb/11.4/Dockerfile +++ b/mariadb/11.4/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mongodb/4/Dockerfile b/mongodb/4/Dockerfile index c2deafbb6..f0f472e39 100644 --- a/mongodb/4/Dockerfile +++ b/mongodb/4/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat iproute2 \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mongodb/5/Dockerfile b/mongodb/5/Dockerfile index cc6e1f34e..375e2d4ec 100644 --- a/mongodb/5/Dockerfile +++ b/mongodb/5/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat iproute2 \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mongodb/6/Dockerfile b/mongodb/6/Dockerfile index 1e6c51eef..8008f0b8b 100644 --- a/mongodb/6/Dockerfile +++ b/mongodb/6/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat iproute2 \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mongodb/7/Dockerfile b/mongodb/7/Dockerfile index 8a9a480d7..153425b01 100644 --- a/mongodb/7/Dockerfile +++ b/mongodb/7/Dockerfile @@ -10,7 +10,10 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update -y \ && apt install -y netcat iproute2 \ && useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/mono/latest/Dockerfile b/mono/latest/Dockerfile index 3e6a2b590..307a22dbd 100644 --- a/mono/latest/Dockerfile +++ b/mono/latest/Dockerfile @@ -10,6 +10,10 @@ RUN sh -c 'echo "deb https://download.mono-project.com/repo/debian stabl RUN apt update RUN apt install -y mono-complete +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Only install the needed steamcmd packages on the AMD64 build RUN if [ "$(uname -m)" = "x86_64" ]; then \ dpkg --add-architecture i386 && \ diff --git a/nodejs/16/Dockerfile b/nodejs/16/Dockerfile index d7c9dcecd..49a6b78ba 100644 --- a/nodejs/16/Dockerfile +++ b/nodejs/16/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \ && useradd -m -d /home/container container +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global USER container diff --git a/nodejs/17/Dockerfile b/nodejs/17/Dockerfile index f95a4da54..1a240c4da 100644 --- a/nodejs/17/Dockerfile +++ b/nodejs/17/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 libnss3 tini \ && useradd -m -d /home/container container +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global USER container diff --git a/nodejs/18/Dockerfile b/nodejs/18/Dockerfile index c228d9787..22359d163 100644 --- a/nodejs/18/Dockerfile +++ b/nodejs/18/Dockerfile @@ -6,6 +6,11 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \ && useradd -m -d /home/container container + +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global USER container diff --git a/nodejs/19/Dockerfile b/nodejs/19/Dockerfile index 66e0db7ff..9e598f53b 100644 --- a/nodejs/19/Dockerfile +++ b/nodejs/19/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \ && useradd -m -d /home/container container +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global USER container diff --git a/nodejs/20/Dockerfile b/nodejs/20/Dockerfile index 36df52f91..33d825aab 100644 --- a/nodejs/20/Dockerfile +++ b/nodejs/20/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \ && useradd -m -d /home/container container +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@latest typescript ts-node @types/node --location=global USER container diff --git a/nodejs/21/Dockerfile b/nodejs/21/Dockerfile index dbb7203f7..877cfcaaa 100644 --- a/nodejs/21/Dockerfile +++ b/nodejs/21/Dockerfile @@ -6,6 +6,11 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \ && useradd -m -d /home/container container + +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile RUN npm install npm@latest typescript ts-node @types/node --location=global USER container diff --git a/postgres/10/Dockerfile b/postgres/10/Dockerfile index 2f733f9db..2ca6292dc 100644 --- a/postgres/10/Dockerfile +++ b/postgres/10/Dockerfile @@ -9,7 +9,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - +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 HOME /home/container WORKDIR /home/container diff --git a/postgres/11/Dockerfile b/postgres/11/Dockerfile index 103f84358..4a219875f 100644 --- a/postgres/11/Dockerfile +++ b/postgres/11/Dockerfile @@ -9,7 +9,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - +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 HOME /home/container WORKDIR /home/container diff --git a/postgres/12/Dockerfile b/postgres/12/Dockerfile index 42f77913c..0cbdc44f3 100644 --- a/postgres/12/Dockerfile +++ b/postgres/12/Dockerfile @@ -9,7 +9,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - +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 HOME /home/container WORKDIR /home/container diff --git a/postgres/13/Dockerfile b/postgres/13/Dockerfile index 324e6d028..94a2605ad 100644 --- a/postgres/13/Dockerfile +++ b/postgres/13/Dockerfile @@ -9,7 +9,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata - +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 HOME /home/container WORKDIR /home/container diff --git a/postgres/14/Dockerfile b/postgres/14/Dockerfile index 6f8e57f73..2d329ef74 100644 --- a/postgres/14/Dockerfile +++ b/postgres/14/Dockerfile @@ -9,7 +9,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata fontconfig git openssl sqlite tar tzdata - +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 HOME /home/container WORKDIR /home/container diff --git a/postgres/16/Dockerfile b/postgres/16/Dockerfile index 12783cfa5..fe4ac5f11 100644 --- a/postgres/16/Dockerfile +++ b/postgres/16/Dockerfile @@ -9,6 +9,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata +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 HOME /home/container WORKDIR /home/container diff --git a/postgres/9/Dockerfile b/postgres/9/Dockerfile index f58fa3216..b4f232a83 100644 --- a/postgres/9/Dockerfile +++ b/postgres/9/Dockerfile @@ -10,6 +10,10 @@ RUN adduser -D -h /home/container container RUN apk add --no-cache tini curl iproute2 ca-certificates fontconfig git openssl sqlite tar tzdata USER container +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ENV HOME /home/container WORKDIR /home/container diff --git a/redis/5/Dockerfile b/redis/5/Dockerfile index 17aef0547..4c9ab60ff 100644 --- a/redis/5/Dockerfile +++ b/redis/5/Dockerfile @@ -11,7 +11,10 @@ RUN apt -y update && \ apt -y upgrade && \ apt -y install iproute2 && \ useradd -d /home/container -m container -s /bin/bash - +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 diff --git a/redis/6/Dockerfile b/redis/6/Dockerfile index b01051e4e..21ae79371 100644 --- a/redis/6/Dockerfile +++ b/redis/6/Dockerfile @@ -12,6 +12,11 @@ RUN apt -y update && \ apt -y install iproute2 && \ useradd -d /home/container -m container -s /bin/bash +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 diff --git a/redis/7/Dockerfile b/redis/7/Dockerfile index 97d359cc5..3d83c7916 100644 --- a/redis/7/Dockerfile +++ b/redis/7/Dockerfile @@ -11,7 +11,11 @@ RUN apt -y update && \ apt -y upgrade && \ apt -y install iproute2 && \ useradd -d /home/container -m container -s /bin/bash - + +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 diff --git a/rust/1.56/Dockerfile b/rust/1.56/Dockerfile index 915a0867c..ddde20fdc 100644 --- a/rust/1.56/Dockerfile +++ b/rust/1.56/Dockerfile @@ -6,6 +6,11 @@ RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini pkg-config \ && useradd -m -d /home/container 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 CARGO_HOME=/home/container/.cargo WORKDIR /home/container diff --git a/rust/1.60/Dockerfile b/rust/1.60/Dockerfile index cb6f3b3a6..cc6416bd3 100644 --- a/rust/1.60/Dockerfile +++ b/rust/1.60/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini pkg-config \ && useradd -m -d /home/container 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 CARGO_HOME=/home/container/.cargo WORKDIR /home/container diff --git a/rust/latest/Dockerfile b/rust/latest/Dockerfile index f6e8e4486..24dcf9293 100644 --- a/rust/latest/Dockerfile +++ b/rust/latest/Dockerfile @@ -6,6 +6,11 @@ RUN apt update \ && apt -y install git dnsutils curl iproute2 ffmpeg tini pkg-config \ && useradd -m -d /home/container 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 CARGO_HOME=/home/container/.cargo WORKDIR /home/container diff --git a/steamcmd/dotnet/Dockerfile b/steamcmd/dotnet/Dockerfile index 52e26e60c..ca45612cc 100644 --- a/steamcmd/dotnet/Dockerfile +++ b/steamcmd/dotnet/Dockerfile @@ -20,6 +20,10 @@ RUN apt update -y \ && apt update -y \ && apt install -y aspnetcore-runtime-7.0 dotnet-sdk-7.0 libgdiplus aspnetcore-runtime-8.0 dotnet-sdk-8.0 +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile ## install rcon RUN cd /tmp/ \ && curl -sSL https://github.com/gorcon/rcon-cli/releases/download/v0.10.3/rcon-0.10.3-amd64_linux.tar.gz > rcon.tar.gz \ diff --git a/steamcmd/proton/Dockerfile b/steamcmd/proton/Dockerfile index aaf096958..7535220b8 100644 --- a/steamcmd/proton/Dockerfile +++ b/steamcmd/proton/Dockerfile @@ -17,6 +17,10 @@ RUN curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/p RUN tar -xzf GE-Proton*.tar.gz -C /usr/local/bin/ --strip-components=1 RUN rm GE-Proton*.* +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Proton Fix machine-id RUN rm -f /etc/machine-id RUN dbus-uuidgen --ensure=/etc/machine-id diff --git a/steamcmd/proton_8/Dockerfile b/steamcmd/proton_8/Dockerfile index c73aa0899..bd0f5d71a 100644 --- a/steamcmd/proton_8/Dockerfile +++ b/steamcmd/proton_8/Dockerfile @@ -17,6 +17,10 @@ RUN curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/p RUN tar -xzf GE-Proton*.tar.gz -C /usr/local/bin/ --strip-components=1 RUN rm GE-Proton*.* +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Proton Fix machine-id RUN rm -f /etc/machine-id RUN dbus-uuidgen --ensure=/etc/machine-id diff --git a/steamcmd/sniper/Dockerfile b/steamcmd/sniper/Dockerfile index bc4c8eb00..ab44a5326 100644 --- a/steamcmd/sniper/Dockerfile +++ b/steamcmd/sniper/Dockerfile @@ -19,6 +19,11 @@ RUN cd /tmp/ \ && tar xvf rcon.tar.gz \ && mv rcon-0.10.3-amd64_linux/rcon /usr/local/bin/ + +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 diff --git a/voice/mumble/Dockerfile b/voice/mumble/Dockerfile index 8b82b798e..7f25d9ad1 100644 --- a/voice/mumble/Dockerfile +++ b/voice/mumble/Dockerfile @@ -10,6 +10,10 @@ RUN apk add --no-cache murmur tini RUN adduser -D 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 diff --git a/voice/teaspeak/Dockerfile b/voice/teaspeak/Dockerfile index 068c1ca29..e7f08ced5 100644 --- a/voice/teaspeak/Dockerfile +++ b/voice/teaspeak/Dockerfile @@ -36,6 +36,10 @@ RUN apt update \ ## install dependencies RUN apt install -y ffmpeg curl python3 iproute2 libjemalloc2 tini +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Install latest youtube-dl RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/youtube-dl RUN chmod a+rx /usr/local/bin/youtube-dl diff --git a/wine/devel/Dockerfile b/wine/devel/Dockerfile index b26253238..dfa4d1ed7 100644 --- a/wine/devel/Dockerfile +++ b/wine/devel/Dockerfile @@ -23,6 +23,10 @@ RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-bui RUN apt update RUN apt install --install-recommends winehq-devel cabextract wine-binfmt -y +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Set up Winetricks RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ && chmod +x /usr/sbin/winetricks diff --git a/wine/latest/Dockerfile b/wine/latest/Dockerfile index 1dbdb6e0d..5e9ebfe2b 100644 --- a/wine/latest/Dockerfile +++ b/wine/latest/Dockerfile @@ -23,6 +23,10 @@ RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-bui RUN apt update RUN apt install --install-recommends winehq-stable cabextract wine-binfmt -y +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Set up Winetricks RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ && chmod +x /usr/sbin/winetricks diff --git a/wine/staging/Dockerfile b/wine/staging/Dockerfile index 25d12cdbe..46059f384 100644 --- a/wine/staging/Dockerfile +++ b/wine/staging/Dockerfile @@ -23,6 +23,10 @@ RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-bui RUN apt update RUN apt install --install-recommends winehq-staging cabextract wine-binfmt -y +RUN rm -rf /usr/bin/dd \ + && rm -rf /usr/bin/fallocate \ + && rm -rf /usr/bin/truncate \ + && rm -rf /usr/bin/xfs_mkfile # Set up Winetricks RUN wget -q -O /usr/sbin/winetricks https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \ && chmod +x /usr/sbin/winetricks