wip: test with patched docker-gen

This commit is contained in:
Nicolas Duchon 2021-04-29 05:11:52 +02:00
parent 03117214cd
commit 2a720d1faa
No known key found for this signature in database
GPG key ID: EA3151C66A4D79E7
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# setup build arguments for version of dependencies to use
ARG DOCKER_GEN_VERSION=0.7.6
ARG DOCKER_GEN_VERSION=contains
ARG FOREGO_VERSION=0.16.1
# Use a specific version of golang to build both binaries
@ -10,7 +10,7 @@ FROM gobuilder as dockergen
ARG DOCKER_GEN_VERSION
RUN git clone https://github.com/jwilder/docker-gen \
RUN git clone https://github.com/buchdag/docker-gen.git \
&& cd /go/docker-gen \
&& git -c advice.detachedHead=false checkout $DOCKER_GEN_VERSION \
&& go mod download \

View file

@ -1,5 +1,5 @@
# setup build arguments for version of dependencies to use
ARG DOCKER_GEN_VERSION=0.7.6
ARG DOCKER_GEN_VERSION=contains
ARG FOREGO_VERSION=0.16.1
# Use a specific version of golang to build both binaries
@ -11,7 +11,7 @@ FROM gobuilder as dockergen
ARG DOCKER_GEN_VERSION
RUN git clone https://github.com/jwilder/docker-gen \
RUN git clone https://github.com/buchdag/docker-gen.git \
&& cd /go/docker-gen \
&& git -c advice.detachedHead=false checkout $DOCKER_GEN_VERSION \
&& go mod download \