netwerk-digitaal-erfgoed / LDWizard-ErfgoedWizard

LDWizard Application for converting Cultural Heritage data into Linked Data
https://ldwizard.netwerkdigitaalerfgoed.nl
2 stars 0 forks source link

Docker build fails #47

Closed EnnoMeijers closed 2 years ago

EnnoMeijers commented 2 years ago

After updating the code the deployment fails because the building the docker image results in an error. @ddeboer any idea what could be the problem?

ddeboer commented 2 years ago

The build fails with:

2022-03-02T12:37:00.9533971Z #9 [build 2/9] RUN apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python
2022-03-02T12:37:01.0527733Z #9 0.078 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
2022-03-02T12:37:01.0528248Z #9 0.153 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
2022-03-02T12:37:01.3041250Z #9 0.369 ERROR: unable to select packages:
2022-03-02T12:37:01.3041572Z #9 0.404   python (no such package):
2022-03-02T12:37:01.3041803Z #9 0.404     required by: world[python]
2022-03-02T12:37:01.6969969Z #9 ERROR: process "/bin/sh -c apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python" did not complete successfully: exit code: 1
2

@GerwinBosch You added the Dockerfile with Python installation and node-gyp installation. Can you fix it? It may also be a good idea to upgrade Node (currently 12) to the LTS version 16.

EnnoMeijers commented 2 years ago

Fixed, changed python to python3 in Dockerfile