- Support nerdctl #132
- Support building with buildx #131
- Deprecate dockerAutoPackageJavaApplication functionality
- Add
Dockerfile.customInstruction()
method to be able to add Dockerfile instructions that are missing from the DSL.
- Support build output from Podman. #125
- Fix issue with changed output from Buildkit. #120
- Fix issue with changed output from Buildkit. #118
- Output Docker image digest from
dockerPush
anddockerBuildAndPush
. #117 - Add
BuildOptions.additionalArguments
to support all arguments that can be passed todocker build
.
- Support passing build arguments with
dockerBuildArguments in docker
setting. - Add
ARG
instruction. - Fix issue with resolving native Dockerfile path when in root of project.
- Fix issue with Docker build not passing failure properly on build failure.
- Fix issue with building images not working with Docker 19.03.12.
- Add support for native Dockerfiles with
NativeDockerfile(filePath))
. - Add support for Docker BuildKit.
- Add
HEALTHCHECK
instruction #75 - The
ADD
andCOPY
instructions can now receive thechown
flag - Fix
dockerBuildAndPush
task in sbt 1.0
- Fix broken version check with Dockers updated version scheme #61
- Don't use deprecated docker tag flag for versions 1.10 and up of Docker #39
- The
dockerPush
task will now fail on Docker image push failure. - Rename
dockerCmd
todockerPath
, this gives better compatibility with sbt-native-packager.
- File permissions are now kept on files that are copied with the
ADD
andCOPY
instructions #31. - Java 7 or higher is now required.
- Support for the new
LABEL
instruction that allows adding metadata to an image #27. - Fix a regression on caching of builds #26.
- Fix bad formatting of environment variables #23.
- Deprecate invalid
CMD
instructions. - Change the default Docker image in
dockerAutoPackageJavaApplication
tojava:8-jre
.
- Now an Auto plugin, sbt version 0.13.5 or higher required
- An image can be tagged with multiple names
- Support for writing raw Dockerfile instructions
- Fixed execution order of task
dockerBuildAndPush
- Added new tasks to push Docker images to a registry:
dockerPush
anddockerBuildAndPush
ImageName(String)
now parses the input string
- Added an immutable Dockerfile
- Fixes related to staged files in the
add
andcopy
methods in Dockerfile