sbt-native-packager v1.3.16 Release Notes

Release Date: 2019-01-24 // over 5 years ago
  • ๐Ÿš€ Thanks to all the contributor for this release โค๏ธ ๐Ÿค—

    ๐Ÿ— The most notable change is the ability to customize you docker build with two new settings introduced in #1190

    ๐Ÿณ dockerPermissionStrategy. The strategy that decides how file permissions are set for the working directory inside the Docker image.

    • ๐Ÿ— DockerPermissionStrategy.MultiStage (default) uses multi-stage Docker build to call chmod ahead of time.
    • ๐Ÿณ DockerPermissionStrategy.None does not attempt to change the file permissions, and use the host machine's file mode bits.
    • ๐Ÿณ DockerPermissionStrategy.Run calls RUN in the Dockerfile. This has regression on the resulting Docker image file size.
    • ๐Ÿณ DockerPermissionStrategy.CopyChown calls COPY --chown in the Dockerfile. Provided as a backward compatibility.

    ๐Ÿณ dockerChmodType. The file permissions for the files copied into Docker image when MultiStage or Run strategy is used.

    • ๐Ÿณ DockerChmodType.UserGroupReadExecute (default): chmod -R u=rX,g=rX
    • ๐Ÿณ DockerChmodType.UserGroupWriteExecute: chmod -R u=rwX,g=rwX
    • ๐Ÿณ DockerChmodType.SyncGroupToUser: chmod -R g=u
    • ๐Ÿณ DockerChmodType.Custom: Custom argument provided by the user.

    Thanks @eed3si9n for this contribution

    ๐Ÿ“ฆ v1.3.16 (2019-01-24)

    ๐Ÿ“ฆ Full Changelog

    Closed issues:

    • ๐Ÿ“ฆ OpenShift compatibility #1189
    • โž• Add MiMa to check binary compatibility #1185
    • ๐Ÿ“ฆ 1.6.0 not compatible with Lagom 1.4.10 #1184
    • ๐Ÿง LinuxPackageMappings in Rpm. Cannot resolve symbol packageMapping for sbt 0.13.15 #1180
    • ๐Ÿ“ฆ Can't specify Epoch for the RPM Plugin #1178
    • ๐Ÿ WindowsPlugin: support multiple .wxs inputs #1176

    ๐Ÿ”€ Merged pull requests: