mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
docker-dev: add go version as build arg (#10117)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Multi-stage builder to avoid polluting users environment with wrong
|
||||
# architecture binaries. Since this binary is used in an alpine container,
|
||||
# Multi-stage builder to avoid polluting users environment with wrong
|
||||
# architecture binaries. Since this binary is used in an alpine container,
|
||||
# we're explicitly compiling for 'linux/amd64'
|
||||
ARG VERSION=1.13.10
|
||||
ARG VERSION=1.14.7
|
||||
|
||||
FROM golang:${VERSION} AS builder
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# we're explicitly compiling for 'linux/amd64'
|
||||
FROM debian:buster AS builder
|
||||
|
||||
ARG VERSION=1.13.10
|
||||
ARG VERSION=1.14.7
|
||||
ARG CGO_ENABLED=0
|
||||
ARG BUILD_TAGS
|
||||
ENV JOBS=2
|
||||
|
||||
Reference in New Issue
Block a user