From 2388d33beba8fb217b86944caca2afa63254e9c2 Mon Sep 17 00:00:00 2001 From: Dominic Grimm Date: Tue, 11 Apr 2023 14:51:19 +0200 Subject: [PATCH] Update --- Dockerfile | 2 +- Makefile | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 400263a..cd47329 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index 62811ab..9b7077d 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/README.md b/README.md index cca6ac0..421fc76 100644 --- a/README.md +++ b/README.md @@ -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