You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current versions of Docker (and from what I can tell Podman) support using the syntax directive to specify a desired build image for building images. If you don't use this directive then the built-in or default Dockerfile frontend is used.
To retain existing (overall) behavior while allowing new features adding # syntax=docker/dockerfile:1 as the first line in a Dockerfile is the current recommended practice.
I've not researched this sufficiently to determine if there are any downsides.
Overview
Current versions of Docker (and from what I can tell Podman) support using the
syntax
directive to specify a desired build image for building images. If you don't use this directive then the built-in or default Dockerfile frontend is used.To retain existing (overall) behavior while allowing new features adding
# syntax=docker/dockerfile:1
as the first line in a Dockerfile is the current recommended practice.I've not researched this sufficiently to determine if there are any downsides.
References
The text was updated successfully, but these errors were encountered: