Update Dockerfiles to latest syntax, remove "experimental"

The experimental image is deprecated (now "labs"), and the features we use
are now included in the regular (stable) syntax.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-07-22 14:48:09 +02:00
parent 25eee83d6b
commit 48dbf6f3cf
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#syntax=docker/dockerfile:1.2 # syntax=docker/dockerfile:1.3
ARG BASE_VARIANT=alpine ARG BASE_VARIANT=alpine
ARG GO_VERSION=1.13.15 ARG GO_VERSION=1.13.15

View File

@ -1,4 +1,5 @@
# syntax=docker/dockerfile:1.1.7-experimental # syntax=docker/dockerfile:1.3
ARG GO_VERSION=1.13.15 ARG GO_VERSION=1.13.15
FROM golang:${GO_VERSION}-alpine AS golang FROM golang:${GO_VERSION}-alpine AS golang

View File

@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.1.3-experimental # syntax=docker/dockerfile:1.3
ARG GO_VERSION=1.13.15 ARG GO_VERSION=1.13.15
ARG GOLANGCI_LINTER_SHA="v1.21.0" ARG GOLANGCI_LINTER_SHA="v1.21.0"