add `syntax` parser directive to Dockerfile (#8055)

As recommended by https://docs.docker.com/build/concepts/dockerfile/#dockerfile-syntax
This commit is contained in:
マルコメ 2025-03-12 09:09:11 +09:00 committed by GitHub
parent 077c3c5db1
commit adf1d06d64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
FROM buildpack-deps:focal-scm as godeps
ARG GO_VERSION
# Provided automatically by docker build.

View File

@ -1,3 +1,4 @@
# syntax=docker/dockerfile:1
ARG GO_VERSION
FROM golang:${GO_VERSION} AS build