From c2ae4bf881cad53e27b57244709ba4ab5eb0f8a4 Mon Sep 17 00:00:00 2001 From: Gamer3514 Date: Mon, 17 Jun 2024 18:09:43 +0100 Subject: [PATCH] update python --- python/2.7/Dockerfile | 5 ++++- python/3.10/Dockerfile | 4 ++++ python/3.11/Dockerfile | 4 ++++ python/3.12/Dockerfile | 5 ++++- python/3.7/Dockerfile | 4 ++++ python/3.8/Dockerfile | 4 ++++ python/3.9/Dockerfile | 4 ++++ 7 files changed, 28 insertions(+), 2 deletions(-) diff --git a/python/2.7/Dockerfile b/python/2.7/Dockerfile index 8ec808736..c11c24087 100644 --- a/python/2.7/Dockerfile +++ b/python/2.7/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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/python/3.10/Dockerfile b/python/3.10/Dockerfile index 594fd5ab8..15b38d4b5 100644 --- a/python/3.10/Dockerfile +++ b/python/3.10/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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/python/3.11/Dockerfile b/python/3.11/Dockerfile index 341d2586d..fb07bcf02 100644 --- a/python/3.11/Dockerfile +++ b/python/3.11/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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/python/3.12/Dockerfile b/python/3.12/Dockerfile index 5d97f445a..34c6ee171 100644 --- a/python/3.12/Dockerfile +++ b/python/3.12/Dockerfile @@ -5,7 +5,10 @@ LABEL author="Silly Development" maintainer="gamer@sillydev.co.uk" RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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/python/3.7/Dockerfile b/python/3.7/Dockerfile index 3e048dae0..c5d01b992 100644 --- a/python/3.7/Dockerfile +++ b/python/3.7/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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/python/3.8/Dockerfile b/python/3.8/Dockerfile index 6644daf44..cd8917476 100644 --- a/python/3.8/Dockerfile +++ b/python/3.8/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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/python/3.9/Dockerfile b/python/3.9/Dockerfile index 7b47394d0..ef9dfdd8c 100644 --- a/python/3.9/Dockerfile +++ b/python/3.9/Dockerfile @@ -6,6 +6,10 @@ RUN apt update \ && apt -y install git gcc g++ ca-certificates dnsutils curl iproute2 ffmpeg procps 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