dockerfile/1.8.0
github-actions
released this
11 Jun 17:35
·
645 commits
to master
since this release
Usage
# syntax=docker.io/docker/dockerfile:1.8.0
Notable changes
- Many new validation rules have been added to verify that your Dockerfile is using best practices. These rules are validated during build and new "lint" subrequest can be used to only trigger validation without completing the whole build. #4925 #4923 #4913 #4897 #4903 #4889 #4843 #4891 #4883 #4878 #4852 #4840 #4839 #4761 #4759 #4990 #4992 #5000 #5001
- New directive
#check
and build-argBUILDKIT_DOCKERFILE_CHECK
can be set to control the behavior or best practices validation checks #4962 - Using a single-platform base image that does not match your expected platform is now validated #4924
- Errors from the expansion of
ARG
definitions in global scope are now handled properly #4856 - Expansion of the default value of
ARG
now only happens if it is not overwritten by the user. Previously, expansion was completed and value was later ignored, which could result in an unexpected expansion error. #4856 - Performance of parsing huge Dockerfiles with many stages has been improved #4970
- Fix some Windows path handling consistency errors #4825