jambonz / jambonz-infrastructure

packer and cloudformation templates for creating EC2-based jambonz deployments
23 stars 29 forks source link

docker-compose -f up fails to create webapp #14

Open advania-tomi opened 2 years ago

advania-tomi commented 2 years ago
Status: Downloaded newer image for node:alpine
 ---> bb1fcdaff936
Step 2/14 : RUN apk update && apk add --no-cache python make g++
 ---> Running in 958ba0f95899
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
v3.14.3-43-gd011d60ecc [https://dl-cdn.alpinelinux.org/alpine/v3.14/main]
v3.14.3-41-g6391631eb3 [https://dl-cdn.alpinelinux.org/alpine/v3.14/community]
OK: 14942 distinct packages available
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
  python (no such package):
    required by: world[python]
The command '/bin/sh -c apk update && apk add --no-cache python make g++' returned a non-zero code: 1
ERROR: Service 'webapp' failed to build : Build failed

I got pass that changing the python to python2 on webapp's Dockerfile

jambonz-infrastructure/docker/webapp/Dockerfile

RUN apk update && apk add --no-cache python2 make g++