Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

Failed to build image from Dockerfile. #2

Open
@the-emerald

Description

@the-emerald

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions