update go to 1.17.2
@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.3
ARG GO_VERSION=1.17.0
ARG GO_VERSION=1.17
ARG DOCKERD_VERSION=20.10.8
FROM docker:$DOCKERD_VERSION AS dockerd-release
@ -1,5 +1,5 @@
variable "GO_VERSION" {
default = "1.17.0"
default = "1.17"
}
variable "BIN_OUT" {
default = "./bin"
# syntax=docker/dockerfile:1.3-labs
ARG FORMATS=md,yaml
FROM golang:${GO_VERSION}-alpine AS docsgen
FROM golang:${GO_VERSION}-alpine
RUN apk add --no-cache gcc musl-dev yamllint
FROM golang:${GO_VERSION}-alpine AS base
RUN apk add --no-cache git rsync