1
This commit is contained in:
4
Makefile
4
Makefile
@@ -16,10 +16,10 @@ $(SUBDIRS):
|
||||
@pushd $@ && \
|
||||
npx devcontainer build \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--image-name $(REGISTRY)/devcontainers/$@ \
|
||||
--image-name $(REGISTRY)/devcontainers-$@ \
|
||||
--cache-to type=local,dest=$(HOME)/docker-buildcache/devcontainers/$@,mode=max \
|
||||
--cache-from type=local,src=$(HOME)/docker-buildcache/devcontainers/$@ && \
|
||||
docker push $(REGISTRY)/devcontainers/$@ &&\
|
||||
docker push $(REGISTRY)/devcontainers-$@ &&\
|
||||
popd
|
||||
|
||||
# 伪目标声明
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro/devcontainers/common-base
|
||||
FROM crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro/devcontainers-common-base
|
||||
|
||||
# Mount for docker-in-docker
|
||||
VOLUME [ "/var/lib/docker" ]
|
||||
|
||||
@@ -1 +1 @@
|
||||
FROM crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro/devcontainers/develop-base
|
||||
FROM crpi-kbfsbvlqwt19zxum-vpc.cn-hongkong.personal.cr.aliyuncs.com/registry-yqxpro/devcontainers-develop-base
|
||||
|
||||
Reference in New Issue
Block a user