Skip to content

Commit b71361d

Browse files
committed
Fix venv
1 parent 96a03fe commit b71361d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,21 @@ LABEL maintainer="thespad"
1212
RUN \
1313
echo "**** install packages ****" && \
1414
apk add --update --no-cache --virtual=build-dependencies \
15-
gcc \
16-
musl-dev \
15+
build-base \
1716
python3-dev \
1817
libffi-dev \
1918
openssl-dev \
2019
cargo && \
2120
apk add -U --upgrade --no-cache \
22-
python3 \
23-
py3-pip && \
21+
python3 && \
2422
echo "**** install monit ****" && \
2523
if [ -z ${APP_VERSION+x} ]; then \
2624
APP_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
2725
&& awk '/^P:'"monit"'$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
2826
fi && \
2927
apk add -U --upgrade --no-cache \
3028
monit==${APP_VERSION} && \
31-
python3 -m ensurepip && \
29+
python3 -m venv /lsiopy && \
3230
pip3 install -U --no-cache-dir \
3331
pip \
3432
wheel && \

0 commit comments

Comments
 (0)