重整
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro/devcontainers-common-base
|
FROM registry.yqxpro.com/devcontainers/common-base
|
||||||
|
|
||||||
# Mount for docker-in-docker
|
# Mount for docker-in-docker
|
||||||
VOLUME [ "/var/lib/docker" ]
|
VOLUME [ "/var/lib/docker" ]
|
||||||
|
|||||||
@@ -5,32 +5,8 @@
|
|||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/git:1": {},
|
"ghcr.io/devcontainers/features/git:1": {},
|
||||||
"ghcr.io/devcontainers/features/git-lfs:1": {
|
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
||||||
"version": "latest",
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
||||||
},
|
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
|
||||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
|
||||||
"version": "latest",
|
|
||||||
},
|
|
||||||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
|
|
||||||
"version": "latest",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"remoteUser": "codespace",
|
|
||||||
"containerUser": "codespace",
|
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
// "forwardPorts": [],
|
|
||||||
|
|
||||||
// Configure tool-specific properties.
|
|
||||||
"customizations": {
|
|
||||||
// Configure properties specific to VS Code.
|
|
||||||
"vscode": {
|
|
||||||
// Set *default* container specific settings.json values on container create.
|
|
||||||
"settings": {
|
|
||||||
"lldb.executable": "/usr/bin/lldb",
|
|
||||||
},
|
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
|
||||||
"extensions": [],
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export REGISTRY_USERNAME=qxyang686@qq.com
|
|
||||||
export REGISTRY_PASSWORD=
|
|
||||||
export REGISTRY_HOST=crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com
|
|
||||||
export REGISTRY=crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro
|
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y npm git
|
sudo apt install -y npm git
|
||||||
curl -fsSL https://raw.githubusercontent.com/docker/docker-install/master/install.sh | sh
|
curl -fsSL https://raw.githubusercontent.com/docker/docker-install/master/install.sh | sh
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
docker buildx create --use --name multiarch-builder
|
docker buildx create --use --name multiarch-builder
|
||||||
docker login --username=$REGISTRY_USERNAME --password=$REGISTRY_PASSWORD $REGISTRY_HOST
|
|
||||||
|
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-p 5000:5000 \
|
-p 5000:5000 \
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
FROM crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro/devcontainers-develop-base
|
FROM registry.yqxpro.com/devcontainers/develop-base
|
||||||
|
|||||||
@@ -17,9 +17,7 @@
|
|||||||
"useOryxIfAvailable": "false",
|
"useOryxIfAvailable": "false",
|
||||||
},
|
},
|
||||||
"./local-features/patch-python": {},
|
"./local-features/patch-python": {},
|
||||||
"ghcr.io/devcontainers/features/conda:1": {
|
"ghcr.io/devcontainers/features/conda:1": {},
|
||||||
"version": "latest",
|
|
||||||
},
|
|
||||||
"./local-features/patch-conda": {},
|
"./local-features/patch-conda": {},
|
||||||
"ghcr.io/devcontainers/features/java:1": {
|
"ghcr.io/devcontainers/features/java:1": {
|
||||||
"jdkDistro": "tem",
|
"jdkDistro": "tem",
|
||||||
@@ -28,21 +26,12 @@
|
|||||||
"installGradle": "true",
|
"installGradle": "true",
|
||||||
"installMaven": "true",
|
"installMaven": "true",
|
||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/go:1": {
|
"ghcr.io/devcontainers/features/go:1": {},
|
||||||
"version": "latest",
|
|
||||||
},
|
|
||||||
"ghcr.io/devcontainers/features/rust:1": {
|
"ghcr.io/devcontainers/features/rust:1": {
|
||||||
"version": "latest",
|
|
||||||
"profile": "complete",
|
"profile": "complete",
|
||||||
},
|
},
|
||||||
"./local-features/setup-user": "latest",
|
"./local-features/setup-user": "latest",
|
||||||
},
|
},
|
||||||
"remoteUser": "codespace",
|
|
||||||
"containerUser": "codespace",
|
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
||||||
// "forwardPorts": [],
|
|
||||||
|
|
||||||
// Configure tool-specific properties.
|
// Configure tool-specific properties.
|
||||||
"customizations": {
|
"customizations": {
|
||||||
// Configure properties specific to VS Code.
|
// Configure properties specific to VS Code.
|
||||||
@@ -75,10 +64,7 @@
|
|||||||
"type": "pythonEnvironment",
|
"type": "pythonEnvironment",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"lldb.executable": "/usr/bin/lldb",
|
|
||||||
},
|
},
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
|
||||||
"extensions": [],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user