开发容器配置-初版
This commit is contained in:
4
develop-base/.devcontainer/Dockerfile
Normal file
4
develop-base/.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM registry.yqxpro.com/devcontainers/common-base
|
||||
|
||||
# Mount for docker-in-docker
|
||||
VOLUME [ "/var/lib/docker" ]
|
||||
12
develop-base/.devcontainer/devcontainer.json
Normal file
12
develop-base/.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"build": {
|
||||
"dockerfile": "./Dockerfile",
|
||||
"context": ".",
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/git:1": {},
|
||||
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
||||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user