Fixed python (broken by upstream)

This commit is contained in:
Simon Beginn 2021-09-12 19:02:39 +02:00
parent b170ce60b2
commit cfdd668741
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6
2 changed files with 6 additions and 4 deletions

View file

@ -22,12 +22,13 @@ RUN apk add --no-cache --update \
py3-pygments \
python3-tkinter \
sqlite-libs \
py3-pip && \
py3-pip \
build-base python3-dev && \
pip3 install peewee tzlocal && \
git clone https://github.com/SystemRage/py-kms/ /tmp/py-kms && \
mv /tmp/py-kms/py-kms /home/ && \
rm -rf /tmp/py-kms && \
apk del git
apk del git build-base python3-dev
WORKDIR /home/py-kms

View file

@ -23,7 +23,8 @@ RUN apk add --no-cache --update \
py3-pygments \
python3-tkinter \
sqlite-libs \
py3-pip && \
py3-pip \
build-base python3-dev && \
git clone https://github.com/SystemRage/py-kms.git /tmp/py-kms && \
git clone https://github.com/coleifer/sqlite-web.git /tmp/sqlite_web && \
mv /tmp/py-kms/py-kms /home/ && \
@ -32,7 +33,7 @@ RUN apk add --no-cache --update \
rm -rf /tmp/sqlite_web && \
pip3 install peewee tzlocal pysqlite3 && \
chmod a+x /usr/bin/start.sh && \
apk del git
apk del git build-base python3-dev
WORKDIR /home/py-kms