Add support for dockerfile/1.3.0 #1712
Labels
area/dockerfile-command
For all bugs related to dockerfile file commands
categorized
differs-from-docker
feat/docker-syntax
kind/enhancement
New feature or request
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
Actual behavior
New features from
dockerfile/1.3.0
are not available (1, 2)RUN
command allows--network flag
for requesting a specific type of network conditions.--network=host
requires allowingnetwork.host
entitlement. This feature was previously only available on labs channel. DocumentationADD
command with a remote URL input now correctly handles the--chmod
flag. Fix file modes with remote ADD commands moby/buildkit#2171RUN --mount
flag now support variable expansion, except for thefrom
field feat(run-mount): add support for variable expansion moby/buildkit#2089BUILDKIT_MULTI_PLATFORM
build arg to force always creating multi-platform image, even if only contains single platform Support BUILDKIT_MULTI_PLATFORM arg in Dockerfile moby/buildkit#1985RUN
andCOPY
commands now support Here-document syntax allowing writing multiline inline scripts and files Dockerfile heredocs moby/buildkit#2132 Improve progress and history messages for heredoc-related commands moby/buildkit#2201 Add support for heredocs in the ONBUILD command moby/buildkit#2209 Improve heredoc parsing to allow more generic shell-words moby/buildkit#2213 DocumentationExpected behavior
Feature parity with docker.
To Reproduce
Steps to reproduce the behavior:
Try to build a
Dockerfile
with1.3.0
syntax.Additional Information
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: