updated tor
parent
c681cc8dc0
commit
ab95a6d189
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.13
|
FROM alpine:3.16
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint
|
COPY entrypoint.sh /entrypoint
|
||||||
|
|
||||||
|
|
21
tor/Makefile
21
tor/Makefile
|
@ -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
|
build: Dockerfile entrypoint.sh
|
||||||
docker build -t $(USERNAME)/$(IMG_NAME) .
|
docker build -t $(IMG) .
|
||||||
|
|
||||||
build-nc: Dockerfile entrypoint.sh
|
push: build
|
||||||
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) .
|
docker image push $(IMG)
|
||||||
|
|
||||||
|
buildx: Dockerfile entrypoint.sh
|
||||||
|
docker buildx build \
|
||||||
|
--platform $(PLATFORMS) \
|
||||||
|
--tag $(IMG) \
|
||||||
|
--push \
|
||||||
|
.
|
||||||
|
|
Loading…
Reference in New Issue