I was trying to build this environment in GitHub Codespaces so that students can try playing around with ARM Assembly using the Raspberry Pi environment.
For now, I had put in the devcontainer.json file to build from the Dockerfile and work from there.
But while doing so, it cannot build the file and I get the below error message:
then it proceeds to create a recovery container:
------
> [qemu-builder 15/23] RUN tar xvf "qemu-6.0.0.tar.xz":
0.847 tar (child): xz: Cannot exec: No such file or directory
0.847 tar (child): Error is not recoverable: exiting now
0.847 tar: Child returned status 2
0.847 tar: Error is not recoverable: exiting now
------
ERROR: failed to solve: executor failed running [/bin/sh -c tar xvf "${QEMU_TARBALL}"]: exit code: 2
{"outcome":"error","message":"Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.48.0-1688970082510/Dockerfile-with-features -t vsc-f28hs-rpi-env-fb1a59bfba981cdf651ee18b7c1c47d92b9b65e9380c0ef9f52bc6dee7ff8d9c --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dockerpi /var/lib/docker/codespacemount/workspace/F28HS-RPi-Env/.devcontainer","description":"An error occurred building the image."}
[78009 ms] Stop: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.48.0-1688970082510/Dockerfile-with-features -t vsc-f28hs-rpi-env-fb1a59bfba981cdf651ee18b7c1c47d92b9b65e9380c0ef9f52bc6dee7ff8d9c --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dockerpi /var/lib/docker/codespacemount/workspace/F28HS-RPi-Env/.devcontainer
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.48.0-1688970082510/Dockerfile-with-features -t vsc-f28hs-rpi-env-fb1a59bfba981cdf651ee18b7c1c47d92b9b65e9380c0ef9f52bc6dee7ff8d9c --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dockerpi /var/lib/docker/codespacemount/workspace/F28HS-RPi-Env/.devcontainer
at Mte (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2008:1698)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async cC (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2007:1691)
at async e3 (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2007:610)
at async Qte (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2024:3660)
at async Kf (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2024:4775)
at async xne (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2156:12125)
at async wne (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2156:11866)
Failed to create container.
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.48.0-1688970082510/Dockerfile-with-features -t vsc-f28hs-rpi-env-fb1a59bfba981cdf651ee18b7c1c47d92b9b65e9380c0ef9f52bc6dee7ff8d9c --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dockerpi /var/lib/docker/codespacemount/workspace/F28HS-RPi-Env/.devcontainer
Error Code: 1302
Container creation failed.
Could you suggest how to approach this issue and how it can be resolved?
This repo will be greatly beneficial for students who want to learn ARM Assembly and learn to use it properly.
I was trying to build this environment in GitHub Codespaces so that students can try playing around with ARM Assembly using the Raspberry Pi environment.
For now, I had put in the
devcontainer.json
file to build from the Dockerfile and work from there. But while doing so, it cannot build the file and I get the below error message: then it proceeds to create a recovery container:Could you suggest how to approach this issue and how it can be resolved? This repo will be greatly beneficial for students who want to learn ARM Assembly and learn to use it properly.