-
Notifications
You must be signed in to change notification settings - Fork 498
Open
Description
We are running into an issue when adding features to our .devcontainer.json file, seemingly intermittent at first, but now it appears we are not able to download any features.
Adding a feature results in a result of "An error occurred building the image" then the build fails and a recovery container is created with error 1302.
The detailed output of the error for a specific feature, in this case, "Golang" is below:
#16 0.862 ERROR: Feature "Go" (ghcr.io/devcontainers/features/go) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/go for help troubleshooting this error.
#16 ERROR: process "/bin/sh -c cp -ar /tmp/build-features-src/go_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/go_0 && cd /tmp/dev-container-features/go_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/go_0" did not complete successfully: exit code: 100
We are calling the feature as below in .devcontainer.json:
{
"name": "Ubuntu",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "ubuntu-24.04" }
},
"features": {
"ghcr.io/devcontainers/features/go:1": {
"version": "latest"
}
}
}
If it is relevant, we are using the latest base image tag for Ubuntu in our DockerFile as below but have tried other images:
FROM mcr.microsoft.com/devcontainers/base:1.2.4-ubuntu-24.04
If we comment out all features, the build completes successfully.
Metadata
Metadata
Assignees
Labels
No labels