From cf9cd114eda73e05caa5bc94689afc50de58848c Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Sat, 9 Nov 2024 14:06:59 +1100 Subject: [PATCH] Stop pip from refusing to work inside our containers --- api_ping/Dockerfile | 1 + backfiller/Dockerfile | 1 + bus_analyzer/Dockerfile | 1 + buscribe_api/Dockerfile | 1 + chat_archiver/Dockerfile | 1 + cutter/Dockerfile | 1 + downloader/Dockerfile | 1 + playlist_manager/Dockerfile | 1 + restreamer/Dockerfile | 1 + segment_coverage/Dockerfile | 1 + sheetsync/Dockerfile | 1 + thrimshim/Dockerfile | 1 + zulip_bots/Dockerfile | 1 + 13 files changed, 13 insertions(+) diff --git a/api_ping/Dockerfile b/api_ping/Dockerfile index 1f5e2d7..82af276 100644 --- a/api_ping/Dockerfile +++ b/api_ping/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras diff --git a/backfiller/Dockerfile b/backfiller/Dockerfile index 9d9ebae..0ce2b27 100644 --- a/backfiller/Dockerfile +++ b/backfiller/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras diff --git a/bus_analyzer/Dockerfile b/bus_analyzer/Dockerfile index 5e495cb..1443af9 100644 --- a/bus_analyzer/Dockerfile +++ b/bus_analyzer/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev zlib-dev jpeg-dev file make busybox-extras diff --git a/buscribe_api/Dockerfile b/buscribe_api/Dockerfile index 8c5a6ab..97299cc 100644 --- a/buscribe_api/Dockerfile +++ b/buscribe_api/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras diff --git a/chat_archiver/Dockerfile b/chat_archiver/Dockerfile index e3a15ba..11553ed 100644 --- a/chat_archiver/Dockerfile +++ b/chat_archiver/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras diff --git a/cutter/Dockerfile b/cutter/Dockerfile index 64fa0fc..9e1badf 100644 --- a/cutter/Dockerfile +++ b/cutter/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras zlib-dev jpeg-dev diff --git a/downloader/Dockerfile b/downloader/Dockerfile index 6d99235..8abf6a9 100644 --- a/downloader/Dockerfile +++ b/downloader/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras diff --git a/playlist_manager/Dockerfile b/playlist_manager/Dockerfile index 6ff991e..958a785 100644 --- a/playlist_manager/Dockerfile +++ b/playlist_manager/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras diff --git a/restreamer/Dockerfile b/restreamer/Dockerfile index 911c028..a489667 100644 --- a/restreamer/Dockerfile +++ b/restreamer/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras zlib-dev jpeg-dev diff --git a/segment_coverage/Dockerfile b/segment_coverage/Dockerfile index cc4ac4e..efcb922 100644 --- a/segment_coverage/Dockerfile +++ b/segment_coverage/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras jpeg-dev zlib-dev diff --git a/sheetsync/Dockerfile b/sheetsync/Dockerfile index a1a960b..e63c3c7 100644 --- a/sheetsync/Dockerfile +++ b/sheetsync/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras diff --git a/thrimshim/Dockerfile b/thrimshim/Dockerfile index b563882..6593232 100644 --- a/thrimshim/Dockerfile +++ b/thrimshim/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras diff --git a/zulip_bots/Dockerfile b/zulip_bots/Dockerfile index d251c9c..4ab9f7d 100644 --- a/zulip_bots/Dockerfile +++ b/zulip_bots/Dockerfile @@ -1,4 +1,5 @@ FROM alpine:3.20 +RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED # dependencies needed for compiling c extensions # also busybox-extras for telnet for easier use of backdoor RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras