hmemcpy / haskell-hie-devcontainer

A DevContainer for VSCode, for installing GHC 8.6.5, HIE (Haskell IDE Engine) and the required plugins
MIT License
165 stars 37 forks source link

Failed to build image from Dockerfile. #2

Open the-emerald opened 4 years ago

the-emerald commented 4 years ago

Hello,

Followed instructions in the README but it appears that I can't actually build the dockerfile :(

// snip, this goes on forever
[251577 ms] Removing intermediate container 9bf1c77e85c6
[251577 ms] 
 ---> 811e5a1770ad
Step 8/8 : RUN apk update     && apk add --no-cache wget coreutils ca-certificates     && wget -q -O /tmp/common-setup.sh $COMMON_SCRIPT_SOURCE     && if [ "$COMMON_SCRIPT_SHA" != "dev-mode" ]; then echo "$COMMON_SCRIPT_SHA /tmp/common-setup.sh" | sha256sum -c - ; fi     && /bin/ash /tmp/common-setup.sh "$INSTALL_ZSH" "$USERNAME" "$USER_UID" "$USER_GID"     && rm /tmp/common-setup.sh
[251577 ms] 
[251629 ms]  ---> Running in 8ccd15e86ddd
[252695 ms] /bin/sh: 1: apk: not found

[253130 ms] The command '/bin/sh -c apk update     && apk add --no-cache wget coreutils ca-certificates     && wget -q -O /tmp/common-setup.sh $COMMON_SCRIPT_SOURCE     && if [ "$COMMON_SCRIPT_SHA" != "dev-mode" ]; then echo "$COMMON_SCRIPT_SHA /tmp/common-setup.sh" | sha256sum -c - ; fi     && /bin/ash /tmp/common-setup.sh "$INSTALL_ZSH" "$USERNAME" "$USER_UID" "$USER_GID"     && rm /tmp/common-setup.sh' returned a non-zero code: 127
[253140 ms] Failed: Building an image from the Dockerfile (this can take a while).
[253145 ms] Command failed: docker build -f /home/emerald/cs2006-code/P1/.devcontainer/Dockerfile -t vsc-p1-e048fe23dba30205680dc4dfdfcfd6fb /home/emerald/cs2006-code/P1/.devcontainer