mirror of https://github.com/kubernetes/kops.git
Enable DinD for Github codespaces
Ensure Docker is installed for Github Codespaces. Docker is required to run some commands from the Makefile.
This commit is contained in:
parent
b2152940c9
commit
7c54ed404e
|
@ -3,7 +3,7 @@
|
|||
"name": "Kops environment from dev container",
|
||||
// Image to pull when not building from scratch. See .devcontainer/build/devcontainer.json
|
||||
// and .github/devcontainer-build-and-push.yml for the instructions on how this image is built
|
||||
"image": "debian:bullseye",
|
||||
"image": "debian:bookworm",
|
||||
// "image": "registry.k8s.io/build-image/kube-cross:v1.30.0-go1.22.0-bullseye.0",
|
||||
// Setup the go environment and mount into the dev container at the expected location
|
||||
"workspaceFolder": "/go/src/k8s.io/kops",
|
||||
|
@ -27,6 +27,7 @@
|
|||
|
||||
// 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/github-cli:1": {
|
||||
"installDirectlyFromGitHubRelease": true,
|
||||
"version": "latest"
|
||||
|
|
Loading…
Reference in New Issue