You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that latest Alpine image doesn't have some dependency packages. Changing py2-pip to py3-pip and python-dev to python3-dev respectively resolves the issue.
-> docker build . -f DockerfileDocs -t python-keycloak-client-docs
Sending build context to Docker daemon 559.1kB
Step 1/10 : FROM alpine:latest
latest: Pulling from library/alpine
df20fa9351a1: Pull complete
Digest: sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321
Status: Downloaded newer image for alpine:latest
---> a24bb4013296
Step 2/10 : RUN apk --no-cache add py2-pip python-dev make git gcc alpine-sdk
---> Running in e54edacaf9d3
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
py2-pip (missing):
required by: world[py2-pip]
python-dev (missing):
required by: world[python-dev]
The command '/bin/sh -c apk --no-cache add py2-pip python-dev make git gcc alpine-sdk' returned a non-zero code: 2
The text was updated successfully, but these errors were encountered:
pehala
pushed a commit
to pehala/python-keycloak-client
that referenced
this issue
Jun 9, 2021
Seems that latest Alpine image doesn't have some dependency packages. Changing
py2-pip
topy3-pip
andpython-dev
topython3-dev
respectively resolves the issue.The text was updated successfully, but these errors were encountered: