Revert "Instead of backport libraries, just upgrade to alpine 3.20 (python 1.12)"

and the later attempts to make it work
pull/471/head
Mike Lang 3 weeks ago
parent ca6f589e30
commit 6b1989ec4c

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev zlib-dev jpeg-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras
# 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,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -9,6 +9,7 @@ setup(
packages=find_packages(), packages=find_packages(),
install_requires=[ install_requires=[
'argh==0.28.1', 'argh==0.28.1',
"exceptiongroup", # backport from python 3.11
'gevent', 'gevent',
'monotonic', 'monotonic',
'requests', # for emote fetching 'requests', # for emote fetching

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras zlib-dev jpeg-dev
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras zlib-dev jpeg-dev
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras jpeg-dev zlib-dev
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -7,6 +7,7 @@ setup(
install_requires = [ install_requires = [
"argh==0.28.1", "argh==0.28.1",
"gevent", "gevent",
"exceptiongroup", # backport from python 3.11
"prometheus-client==0.7.1", # locked version as we rely on internals "prometheus-client==0.7.1", # locked version as we rely on internals
"psycogreen", "psycogreen",
"psycopg2", "psycopg2",

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev postgresql-dev file make busybox-extras
# Try to get wheels working # Try to get wheels working
RUN pip install --upgrade pip wheel RUN pip install --upgrade pip wheel

@ -1,7 +1,7 @@
FROM alpine:3.20 FROM alpine:3.14
# 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 && rm /usr/lib/python3.12/EXTERNALLY-MANAGED RUN apk --update add py3-pip g++ python3-dev libffi-dev musl-dev file make busybox-extras
# 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