Skip to content

Commit aae6a71

Browse files
committed
Try using py3-pip when installing in Alpine
Seems to be perhaps different than py-pip
1 parent 90c375c commit aae6a71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ARG ALPINE_VERSION=3.16
33
FROM alpine:${ALPINE_VERSION} AS builder
44

5-
RUN apk add --no-cache git python3 python3-dev py-pip build-base
5+
RUN apk add --no-cache git python3 python3-dev py3-pip build-base
66

77
# set pip's cache directory using this environment variable, and use
88
# ARG instead of ENV to ensure its only set when the image is built
@@ -21,7 +21,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
2121
FROM alpine:${ALPINE_VERSION}
2222

2323
# install python, git, bash, mercurial
24-
RUN apk add --no-cache git git-lfs python3 py-pip py3-setuptools bash docker mercurial
24+
RUN apk add --no-cache git git-lfs python3 py3-pip bash docker mercurial
2525

2626
# repeat ARG from above
2727
ARG PIP_CACHE_DIR=/tmp/pip-cache

0 commit comments

Comments
 (0)