Open dilipprasad opened 2 years ago
For anyone still facing this issue, I managed to fix it by adding the following to the top of the Dockerfile, just after FROM node:14-alpine
:
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
(see here for context)
If the build process hangs on
=> [ 2/11] RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
=> => # fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
then try modifying the build command line to include --network host
, i.e.:
docker build --network host -t snippet-box:latest .
Hi,
I am trying to install this in raspberry pi 4, tried via portainer got weird error, so clone the source and modified docker-compose.yaml file and build with the command specified. I am getting error, please help me here as I am a newbie. Command dump as below Please note I am running this as root