chore: use latest python image
This commit is contained in:
parent
f3442b89b4
commit
bc0133b4c8
10
Dockerfile
10
Dockerfile
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.20
|
||||
FROM python:3.12.5-alpine
|
||||
# set version label
|
||||
ARG VERSION
|
||||
|
||||
@ -10,10 +10,10 @@ RUN \
|
||||
apk add --no-cache --allow-untrusted 7zip*.apk && \
|
||||
rm -f 7zip*.apk && \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
gcc musl-dev \
|
||||
curl-dev && \
|
||||
apk add --no-cache \
|
||||
python3 \
|
||||
py3-pip \
|
||||
py3-curl \
|
||||
shadow \
|
||||
curl \
|
||||
tesseract-ocr && \
|
||||
@ -23,6 +23,8 @@ RUN \
|
||||
PYLOAD="pyload-ng[all]==${VERSION}"; \
|
||||
fi && \
|
||||
pip3 install --no-cache-dir --break-system-packages -U "${PYLOAD}" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
echo "**** add user abc ****" && \
|
||||
adduser -D -u 911 -h /config abc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user