Skip to content

Conversation

@grahamalderson
Copy link

In recent alpine releases python version 2 must be specified as python2. If it is left as "python" as in the current Dockerfiles, then the following is the result:

Sending build context to Docker daemon 5.632kB
Step 1/7 : FROM multiarch/alpine:armhf-latest-stable
---> 1cf743ebe78e
Step 2/7 : RUN apk update && apk add python curl
---> Running in f53078db8735
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/armhf/APKINDEX.tar.gz
v3.12.1-47-g77e786238c [http://dl-cdn.alpinelinux.org/alpine/v3.12/main]
v3.12.1-51-g991a1b26b6 [http://dl-cdn.alpinelinux.org/alpine/v3.12/community]
OK: 11229 distinct packages available
ERROR: unsatisfiable constraints:
python (missing):
required by: world[python]
The command '/bin/sh -c apk update && apk add python curl' returned a non-zero code: 1

In recent alpine releases python version 2 must be specified as python2
In recent alpine releases python version 2 must be specified as python2
In recent alpine releases python version 2 must be specified as python2
@dogi
Copy link
Member

dogi commented Nov 28, 2020

@Neethu-Mohan look here @grahamalderson went into the same problems as us ...

@grahamalderson thx
please look at our rewrite in #24

@grahamalderson
Copy link
Author

Looks excellent, especially because it is using python3. I had to use python2 in the patch I submitted because python3 did not work in the build and I needed a temporary solution to make it work as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants