dockerfile: pin go version

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-03-11 12:12:35 -08:00
parent a546582388
commit 36de565acb

View File

@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.2
FROM golang:1.16-alpine AS build
FROM golang:1.16.1-alpine AS build
WORKDIR /src
RUN apk add --no-cache file
RUN --mount=target=. --mount=target=/root/.cache,type=cache \