重整
This commit is contained in:
8
build.sh
8
build.sh
@@ -6,8 +6,8 @@ pushd common-base
|
||||
npx devcontainer build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--image-name ${REGISTRY}/devcontainers/common-base \
|
||||
--cache-to type=local,dest=${HOME}/docker-buildcache/devcontainers/common-base,mode=max \
|
||||
--cache-from type=local,src=${HOME}/docker-buildcache/devcontainers/common-base && \
|
||||
--cache-to type=registry,ref=${REGISTRY}/devcontainers/common-base:buildcache,mode=max \
|
||||
--cache-from type=registry,ref=${REGISTRY}/devcontainers/common-base:buildcache && \
|
||||
docker push ${REGISTRY}/devcontainers/common-base &&\
|
||||
popd
|
||||
|
||||
@@ -15,8 +15,8 @@ pushd develop-base
|
||||
npx devcontainer build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--image-name ${REGISTRY}/devcontainers/develop-base \
|
||||
--cache-to type=local,dest=${HOME}/docker-buildcache/devcontainers/develop-base,mode=max \
|
||||
--cache-from type=local,src=${HOME}/docker-buildcache/devcontainers/develop-base && \
|
||||
--cache-to type=local,ref=${REGISTRY}/devcontainers/develop-base,mode=max \
|
||||
--cache-from type=local,ref=${REGISTRY}/devcontainers/develop-base && \
|
||||
docker push ${REGISTRY}/devcontainers/develop-base &&\
|
||||
popd
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"useOryxIfAvailable": "false",
|
||||
},
|
||||
"./local-features/patch-python": {},
|
||||
"ghcr.io/devcontainers/features/conda:1": {},
|
||||
"ghcr.io/devcontainers/features/anaconda:1": {},
|
||||
"./local-features/patch-conda": {},
|
||||
"ghcr.io/devcontainers/features/java:1": {
|
||||
"jdkDistro": "tem",
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"id": "patch-conda",
|
||||
"name": "Patch Conda Packages",
|
||||
"installsAfter": [
|
||||
"ghcr.io/devcontainers/features/conda"
|
||||
]
|
||||
"id": "patch-conda",
|
||||
"name": "Patch Conda Packages",
|
||||
"installsAfter": ["ghcr.io/devcontainers/features/anaconda"]
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"./local-features/nvs",
|
||||
"ghcr.io/devcontainers/features/python:1",
|
||||
"./local-features/patch-python",
|
||||
"ghcr.io/devcontainers/features/conda:1",
|
||||
"ghcr.io/devcontainers/features/anaconda:1",
|
||||
"./local-features/patch-conda",
|
||||
"ghcr.io/devcontainers/features/java:1",
|
||||
"ghcr.io/devcontainers/features/go:1",
|
||||
|
||||
Reference in New Issue
Block a user