add `syntax` parser directive to Dockerfile (#8055)
As recommended by https://docs.docker.com/build/concepts/dockerfile/#dockerfile-syntax
This commit is contained in:
parent
077c3c5db1
commit
adf1d06d64
|
@ -1,3 +1,4 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM buildpack-deps:focal-scm as godeps
|
||||
ARG GO_VERSION
|
||||
# Provided automatically by docker build.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
ARG GO_VERSION
|
||||
|
||||
FROM golang:${GO_VERSION} AS build
|
||||
|
|
Loading…
Reference in New Issue