1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-26 09:26:16 +02:00

Hardcode go 1.15.10 for use in Docker Images

This commit updates both 'Dockerfile' and 'Dockerfile.alpine' to use
'go.15.10' when building the dependencies. This change was implemented
after feedback from @buchdag to be able to use dependabot.
This commit is contained in:
Tom Wiesing 2021-04-01 13:54:37 +02:00
parent 886dd04b62
commit 6b8cd894da
No known key found for this signature in database
GPG Key ID: DC1F29F2BC78AB15
2 changed files with 2 additions and 4 deletions

View File

@ -1,12 +1,11 @@
# setup build arguments for version of dependencies to use
ARG NGINX_VERSION=1.19.3
ARG GO_VERSION=1.14
ARG DOCKER_GEN_VERSION=0.7.4
ARG FOREGO_VERSION=0.16.1
# Use a specific version of golang to build both binaries
FROM golang:$GO_VERSION as gobuilder
FROM golang:1.15.10 as gobuilder
# Build docker-gen from scratch
FROM gobuilder as dockergen

View File

@ -1,12 +1,11 @@
# setup build arguments for version of dependencies to use
ARG NGINX_VERSION=1.19.3-alpine
ARG GO_VERSION=1.14-alpine
ARG DOCKER_GEN_VERSION=0.7.4
ARG FOREGO_VERSION=0.16.1
# Use a specific version of golang to build both binaries
FROM golang:$GO_VERSION as gobuilder
FROM golang:1.15.10-alpine as gobuilder
RUN apk add --no-cache git
# Build docker-gen from scratch