Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25690

Pull base docker image to make sure it's up to date

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When image is build from Dockerfile it uses currently pulled base images. Currently I have to add script task to run

      docker pull myregistry/myimage:latest

      to make nightly build start from up-to-date image.

      There should be option in plugin to pull base image before building.

        Attachments

          Activity

          Hide
          jovandeginste Jo Vandeginste added a comment -

          I have submitted a pull request that solves exactly that with the recent --pull=true flag for the docker build command

          https://github.com/jenkinsci/docker-build-publish-plugin/pull/10

          If accepted and merged, this issue will be solved.

          Show
          jovandeginste Jo Vandeginste added a comment - I have submitted a pull request that solves exactly that with the recent --pull=true flag for the docker build command https://github.com/jenkinsci/docker-build-publish-plugin/pull/10 If accepted and merged, this issue will be solved.
          Hide
          michaelneale Michael Neale added a comment -

          Thanks Jo - put some comments on the PR. Looks good, and thanks for this.

          Show
          michaelneale Michael Neale added a comment - Thanks Jo - put some comments on the PR. Looks good, and thanks for this.

            People

            Assignee:
            jovandeginste Jo Vandeginste
            Reporter:
            marq_c Marek Chodor
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: