
- go1.23.8 (released 2025-04-01) includes security fixes to the net/http package, as well as bug fixes to the runtime and the go command. Ref: https://github.com/golang/go/issues?q=milestone%3AGo1.23.8+label%3ACherryPickApproved - go1.24.2 (released 2025-04-01) includes security fixes to the net/http package, as well as bug fixes to the compiler, the runtime, the go command, and the crypto/tls, go/types, net/http, and testing packages. Ref: https://github.com/golang/go/issues?q=milestone%3AGo1.24.2+label%3ACherryPickApproved Signed-off-by: Akhil Mohan <akhilerm@gmail.com> (cherry picked from commit 5629e9fff7de69a36f5f563d41966aa562866258) Signed-off-by: Derek McGowan <derek@mcg.dev>
33 lines
983 B
JSON
33 lines
983 B
JSON
// For format details, see https://aka.ms/devcontainer.json.
|
|
{
|
|
"name": "containerd",
|
|
"build": {
|
|
"context": "..",
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"workspaceFolder": "/go/src/github.com/containerd/containerd",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/go/src/github.com/containerd/containerd,type=bind,consistency=cached",
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
"ghcr.io/devcontainers/features/go:1": {
|
|
"version": "1.23.8"
|
|
}
|
|
},
|
|
|
|
"onCreateCommand": "sudo PATH=$PATH bash .devcontainer/setup.sh",
|
|
"postAttachCommand": {
|
|
"Runs all non-integration tests that do not require `root` privileges": "make test",
|
|
"Runs non-integration tests which require `root`": "sudo PATH=$PATH make root-test"
|
|
},
|
|
|
|
"remoteUser": "root",
|
|
"runArgs": [
|
|
"--ipc=host",
|
|
"--volume=/dev:/dev",
|
|
"--volume=/run/udev:/run/udev",
|
|
"--privileged"
|
|
]
|
|
}
|