Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add node:18.13.0-slim #106

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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