github sbt/sbt-native-packager v1.3.16
v1.3.16 - Docker MultiStage and Permission Strategy support

latest releases: v1.10.0, v1.10.3, v1.10.2...
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:

Don't miss a new sbt-native-packager release

NewReleases is sending notifications on new releases.