updated tor

main
Ricard Illa 2022-07-13 09:29:27 +02:00
parent c681cc8dc0
commit ab95a6d189
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 16 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.16
COPY entrypoint.sh /entrypoint

View File

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