Skip to content

Commit

Permalink
Merge pull request #106 from zhangguanzhang/node-slim
Browse files Browse the repository at this point in the history
add node:18.13.0-slim

Former-commit-id: 1d35b8d
  • Loading branch information
qiangxuhui authored Nov 6, 2023
2 parents 25247c4 + 57ea416 commit 915b5a7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/node/18.13.0-debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cr.loongnix.cn/library/debian:buster
ARG TAG=buster
FROM cr.loongnix.cn/library/debian:${TAG}

LABEL maintainer="[email protected]"

Expand Down
12 changes: 12 additions & 0 deletions library/node/18.13.0-debian/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,24 @@ default: image

image:
docker build \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
-t $(IMAGE) \
.
docker build \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
--build-arg=TAG=buster-slim \
-t $(IMAGE)-slim \
.
docker images | grep $(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY)

push: alias
docker push $(IMAGE)
docker push $(ALIAS)
docker push $(IMAGE)-slim
docker push $(ALIAS)-slim

alias:
docker tag $(IMAGE) $(ALIAS)
docker tag $(IMAGE)-slim $(ALIAS)-slim

0 comments on commit 915b5a7

Please sign in to comment.