updated agate

main
Ricard Illa 2022-06-28 17:08:41 +02:00
parent 8c3b80db39
commit 387f4fcc21
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.13 FROM alpine:3.16
RUN apk add --no-cache --virtual .build-deps cargo && \ RUN apk add --no-cache --virtual .build-deps cargo && \
apk add --no-cache libgcc && \ apk add --no-cache libgcc && \

View File

@ -1,10 +1,19 @@
USERNAME = rilla
IMG_NAME=agate IMG_NAME=agate
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64
.PHONY: build build-nc .PHONY: build build-nc
build: Dockerfile build: Dockerfile
docker build -t $(USERNAME)/$(IMG_NAME) . docker build -t $(IMG) .
build-nc: Dockerfile push: build
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) . docker image push $(IMG)
buildx: Dockerfile
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.