File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/integrationTest/reproductions/issue-107 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,14 @@ import com.bmuschko.gradle.docker.tasks.image.*
3535
3636task saveDockerImage (type : DockerSaveImage ) {
3737 dependsOn(buildDockerImage)
38- image = buildDockerImage. imageId
38+ images . add( buildDockerImage. imageId)
3939 destFile = project. layout. buildDirectory. file(" builtImage.tar" )
4040}
4141
4242task saveBaseDockerImage (type : DockerSaveImage ) {
43- image = dockerAlfresco. baseImage
43+ images . add( dockerAlfresco. baseImage)
4444 destFile = project. layout. buildDirectory. file(" originalImage.tar" )
45+ mustRunAfter(buildDockerImage) // because the build pulls the base image if it does not exist on disk yet
4546}
4647import java.util.stream.Collectors
4748import java.util.stream.Stream
You can’t perform that action at this time.
0 commit comments