docker: build with explicit go version

It is occasionally useful to assert that our output was built with >=x
version of the Go compiler or linked against >=x version of the Go
standard library.  While it is possible to make this assertion after the
fact -- say, by dumping the value of runtime.buildVersion with a
debugger -- it's usually much easier to inspect this file.
This commit is contained in:
Saj Goonatilleke 2020-11-19 05:07:14 +11:00
parent 7a06dd08e8
commit 6370ef8f24
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM golang:alpine AS builder
FROM golang:1.15.5-alpine3.12 AS builder
RUN apk -v --no-progress --no-cache add git