Merge pull request #169 from dagger/pin-go-version

dockerfile: pin go version
This commit is contained in:
Andrea Luzzardi 2021-03-11 12:18:11 -08:00 committed by GitHub
commit 78236470f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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