This commit is contained in:
Dominic Grimm 2023-04-11 14:51:19 +02:00
parent 21b86ff24b
commit 2388d33beb
Signed by: dergrimm
GPG key ID: 12EFFCAEA9E620BF
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
FROM docker.io/alpine/git:2.36.3 as puller
WORKDIR /usr/src/gbox
ARG GBOX_VERSION
RUN git clone --depth 1 --branch v${GBOX_VERSION} https://github.com/gbox-proxy/gbox.git .
RUN git clone --depth 1 --branch ${GBOX_VERSION} https://github.com/gbox-proxy/gbox.git .
FROM docker.io/golang:1.17.13-alpine3.16 as builder
WORKDIR /usr/src/gbox

View file

@ -1,6 +1,6 @@
.PHONY: build
GBOX_VERSION = 1.0.6
GBOX_VERSION = v1.0.6
build:
docker build . -t git.dergrimm.net/dergrimm/gbox:$(GBOX_VERSION) --build-arg GBOX_VERSION=$(GBOX_VERSION)

View file

@ -1,7 +1,7 @@
# Custom Dockerfile for the awesome [GBox Proxy](https://github.com/gbox-proxy/gbox)
```bash
docker pull git.dergrimm.net/dergrimm/gbox:1.0.6
docker pull git.dergrimm.net/dergrimm/gbox:v1.0.6
```
https://git.dergrimm.net/dergrimm/-/packages/container/gbox
@ -10,7 +10,7 @@ https://git.dergrimm.net/dergrimm/-/packages/container/gbox
FROM docker.io/alpine/git:2.36.3 as puller
WORKDIR /usr/src/gbox
ARG GBOX_VERSION
RUN git clone --depth 1 --branch v${GBOX_VERSION} https://github.com/gbox-proxy/gbox.git .
RUN git clone --depth 1 --branch ${GBOX_VERSION} https://github.com/gbox-proxy/gbox.git .
FROM docker.io/golang:1.17.13-alpine3.16 as builder
WORKDIR /usr/src/gbox