Created
April 5, 2020 14:58
-
-
Save ppiotrow/e6f3aae9368983579ed16a1f74fb0bbc to your computer and use it in GitHub Desktop.
SBT docker native packager - using multistage build cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dockerUpdateLatest := true, | |
dockerAutoremoveMultiStageIntermediateImages := false, | |
dockerBuildOptions := dockerBuildOptions.value ++ Seq( | |
"--cache-from", | |
dockerAlias.value.withTag(Some("stage0")).toString, | |
"--cache-from", | |
dockerAlias.value.withTag(Some("latest")).toString) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment