Dockerfile: update to go1.16

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2021-02-16 23:03:26 -08:00
parent ad95d6ba04
commit 905be6431b
4 changed files with 5 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.0-experimental
FROM golang:1.13-alpine
FROM golang:1.16-alpine
RUN apk add --no-cache git yamllint
RUN go get -u gopkg.in/alecthomas/gometalinter.v1 \
&& mv /go/bin/gometalinter.v1 /go/bin/gometalinter \

View File

@@ -1,5 +1,6 @@
# syntax = docker/dockerfile:1.0-experimental
FROM golang:1.13-alpine AS vendored
# syntax = docker/dockerfile:1.2
FROM golang:1.16-alpine AS vendored
RUN apk add --no-cache git rsync
WORKDIR /src
RUN --mount=target=/context \