Stop pip from refusing to work inside our containers

pull/471/head
Mike Lang 2 weeks ago
parent 9960accc0f
commit cf9cd114ed

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev zlib-dev jpeg-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras zlib-dev jpeg-dev

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras zlib-dev jpeg-dev

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras jpeg-dev zlib-dev

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras

@ -1,4 +1,5 @@
FROM alpine:3.20 FROM alpine:3.20
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# dependencies needed for compiling c extensions # dependencies needed for compiling c extensions
# also busybox-extras for telnet for easier use of backdoor # 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 RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras

Loading…
Cancel
Save