dockerfile: pin go version
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
a546582388
commit
36de565acb
@ -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 \
|
||||||
|
Reference in New Issue
Block a user