Skip to content

Support --pull option for docker build #4

@sideisra

Description

@sideisra

We would like to update ur base images at every build to keep track with the releases. Therefore we would like to use the --pull option of the docker build command.

There should be an option for the build task to enable the --pull docker option. Like that:

deploy {
    default{
       dockerBuild { 
          prepareTask = "prepareBuildDocker" // task the copies all needed files to build/buildDocker
          version = "0.0.1" // if not set gradle project version "-$timestamp" is used
          architecture = "linux/amd64" // if not set docker default architecture is chosen
          pullNewerImages = true
       }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions