Downgrade Pandora to Alpine 10 + Python 3.7

This commit is contained in:
Disassembler 2020-03-22 14:17:52 +01:00
parent b79323b4b7
commit cab95d15f3
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,6 @@
IMAGE pandora_0.0.1-200313
FROM alpine3.11-python3.8_3.8.2-200313
FROM alpine3.10-python3.7_3.7.5-200313
# Django required by Pandora requires psycopg<=2.7.7 which does not compile under python3.8
RUN EOF
# Install runtime dependencies

View File

@ -0,0 +1,9 @@
IMAGE alpine3.10-python3.7_3.7.5-200313
FROM alpine3.10_3.10.4-200313
RUN EOF
apk --no-cache add python3
ln -s /usr/bin/python3 /usr/bin/python
EOF
CMD /usr/bin/python