Skip to content

Commit

Permalink
Add alpine 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaixiaojuan committed Mar 21, 2024
1 parent ed8711f commit 9c45135
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM scratch

MAINTAINER [email protected]

ADD rootfs.tar.gz /

CMD ["sh"]
30 changes: 30 additions & 0 deletions library/alpine/3.19/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file is generated by the template.

REGISTRY?=lcr.loongnix.cn
ORGANIZATION?=library
REPOSITORY?=alpine
TAG?=3.19

IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG)

ROOTFS=rootfs.tar.gz

ALIAS=lcr.loongnix.cn/library/alpine:3.19-temporary

default: image

image: $(ROOTFS)
docker build \
--build-arg ROOTFS=$(ROOTFS) \
-t $(IMAGE) \
.

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

$(ROOTFS):
wget -O $(ROOTFS) https://dev.alpinelinux.org/~loongarch/edge-9c13e7/releases/loongarch64/alpine-minirootfs-edge-9c13-loongarch64.tar.gz

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

0 comments on commit 9c45135

Please sign in to comment.