重整
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
|
||||
VOLUME [ "/var/lib/docker" ]
|
||||
|
||||
@@ -5,32 +5,8 @@
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/git:1": {},
|
||||
"ghcr.io/devcontainers/features/git-lfs:1": {
|
||||
"version": "latest",
|
||||
},
|
||||
"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": [],
|
||||
},
|
||||
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
||||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,16 +1,10 @@
|
||||
#!/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 install -y npm git
|
||||
curl -fsSL https://raw.githubusercontent.com/docker/docker-install/master/install.sh | sh
|
||||
sudo usermod -aG docker $USER
|
||||
docker buildx create --use --name multiarch-builder
|
||||
docker login --username=$REGISTRY_USERNAME --password=$REGISTRY_PASSWORD $REGISTRY_HOST
|
||||
|
||||
docker run -d \
|
||||
-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",
|
||||
},
|
||||
"./local-features/patch-python": {},
|
||||
"ghcr.io/devcontainers/features/conda:1": {
|
||||
"version": "latest",
|
||||
},
|
||||
"ghcr.io/devcontainers/features/conda:1": {},
|
||||
"./local-features/patch-conda": {},
|
||||
"ghcr.io/devcontainers/features/java:1": {
|
||||
"jdkDistro": "tem",
|
||||
@@ -28,21 +26,12 @@
|
||||
"installGradle": "true",
|
||||
"installMaven": "true",
|
||||
},
|
||||
"ghcr.io/devcontainers/features/go:1": {
|
||||
"version": "latest",
|
||||
},
|
||||
"ghcr.io/devcontainers/features/go:1": {},
|
||||
"ghcr.io/devcontainers/features/rust:1": {
|
||||
"version": "latest",
|
||||
"profile": "complete",
|
||||
},
|
||||
"./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.
|
||||
"customizations": {
|
||||
// Configure properties specific to VS Code.
|
||||
@@ -75,10 +64,7 @@
|
||||
"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