Update
This commit is contained in:
parent
21b86ff24b
commit
2388d33beb
3 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
FROM docker.io/alpine/git:2.36.3 as puller
|
FROM docker.io/alpine/git:2.36.3 as puller
|
||||||
WORKDIR /usr/src/gbox
|
WORKDIR /usr/src/gbox
|
||||||
ARG GBOX_VERSION
|
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
|
FROM docker.io/golang:1.17.13-alpine3.16 as builder
|
||||||
WORKDIR /usr/src/gbox
|
WORKDIR /usr/src/gbox
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|
||||||
GBOX_VERSION = 1.0.6
|
GBOX_VERSION = v1.0.6
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build . -t git.dergrimm.net/dergrimm/gbox:$(GBOX_VERSION) --build-arg GBOX_VERSION=$(GBOX_VERSION)
|
docker build . -t git.dergrimm.net/dergrimm/gbox:$(GBOX_VERSION) --build-arg GBOX_VERSION=$(GBOX_VERSION)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Custom Dockerfile for the awesome [GBox Proxy](https://github.com/gbox-proxy/gbox)
|
# Custom Dockerfile for the awesome [GBox Proxy](https://github.com/gbox-proxy/gbox)
|
||||||
|
|
||||||
```bash
|
```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
|
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
|
FROM docker.io/alpine/git:2.36.3 as puller
|
||||||
WORKDIR /usr/src/gbox
|
WORKDIR /usr/src/gbox
|
||||||
ARG GBOX_VERSION
|
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
|
FROM docker.io/golang:1.17.13-alpine3.16 as builder
|
||||||
WORKDIR /usr/src/gbox
|
WORKDIR /usr/src/gbox
|
||||||
|
|
Loading…
Reference in a new issue