DevContainer setup fails due to Go version mismatch and checksum error
Describe the bug
The DevContainer setup fails during build when attempting to install the Go feature. The failure is caused by a mismatch between the Go version installed in the container (1.20.6) and the version required by dependencies (>= 1.24/1.25). Additionally, a checksum verification failure occurs while installing golangci-lint.
This prevents the DevContainer from being created successfully and blocks onboarding using the documented quickstart guide.
To Reproduce
-
Clone the repository:
git clone https://github.com/hyperledger-cacti/cacti.git -
Open the project in VS Code
-
Run: Dev Containers: Reopen in Container
-
Wait for the build process to start
-
Observe failure during Go feature installation
Expected behavior
The DevContainer should build successfully and provide a working development environment without errors.
Logs/Stack traces
Relevant errors:
ERROR: Feature "Go" (ghcr.io/devcontainers/features/go) failed to install
checksum did not verify for golangci-lint
package requires go 1.24 / 1.25 but Go 1.20.6 is installed
invalid go version '1.25.0': must match format 1.23
Screenshots
Cloud provider or hardware configuration:
Local development machine (not cloud)
Operating system name, version, build:
macOS (Apple Silicon)
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
Latest main branch (cloned from GitHub)
Hyperledger Cactus Plugins/Connectors Used
Not applicable (issue occurs during DevContainer setup before running connectors)
Additional context
This issue blocks new contributors from using the DevContainer-based setup described in the quickstart guide.
Possible causes:
- Outdated Go version configured in DevContainer (1.20.6)
- Dependencies requiring newer Go versions (>= 1.24/1.25)
- Checksum mismatch during golangci-lint installation
Suggested fixes:
- Update Go version in DevContainer to a compatible version
- Pin compatible dependency versions
- Investigate checksum mismatch during tool installation
Hey @RafaelAPB @AndreAugusto11 is this an active issue, if yes i would really love to work upon it.
Hi! I opened this issue and have already reproduced the problem locally.
I’m planning to work on a fix and would like to take this up. Please let me know if I can proceed with it.
Thanks!