Skip to content

dockerfile/1.8.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 31 May 23:07
· 699 commits to master since this release
e740d4b

Usage

# syntax=docker.io/docker/dockerfile-upstream:1.8.0-rc1

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 whole build. #4925 #4923 #4913 #4897 #4903 #4889 #4843 #4891 #4883 #4878 #4852 #4840 #4839 #4761 #4759
  • New directive #check and build-arg BUILDKIT_DOCKERFILE_CHECK can be set to control the behavior or best practices validation checks #4962
  • Using 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