mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00: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:
parent
886dd04b62
commit
6b8cd894da
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user