Skip to content

Conversation

@leelaprasadv
Copy link

Hi @jonhermansen,

Recently Docker announced download rate limit on anonymous docker image downloads and docker-custom-build-environment plugin internally uses an alpine 3.6 call it an initial image/initImage (hard coded inside plugin). This image is downloaded for most job runs.

Here is a PR to make this image configurable in Jenkins Global Configuration under a new section Build In Docker Configuration. This will enable/support configuring the image from local repositories instead of pointing it to docker hub.

Change log:

  • Added a new section Build In Docker Configuration in global configuration.
  • Added a new text field Init Image to allow the Initial image used by the plugin to be configurable (global.jelly).
  • Default the initImage to alpine:3.6.
  • Form validations for new field in configuration.
  • Help docs for new field.

Preview of the changes:
Configuration preview:
Screenshot 2020-11-12 033803
Note: Value defaults to alpine:3.6

Form validation:
Screenshot 2020-11-12 033953

~ Prasad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant