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

pull/471/head
Mike Lang 3 weeks ago
parent 0eaebe20a6
commit 9960accc0f

@ -1,4 +1,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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

@ -9,7 +9,6 @@ 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,4 +1,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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

@ -7,7 +7,6 @@ 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,4 +1,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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,4 @@
FROM alpine:3.14 FROM alpine:3.20
# 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