but only AFTER installing pip

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

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# should speed up installing python modules # should speed up installing python modules
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,8 +1,7 @@
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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

Loading…
Cancel
Save