This is a list of base images that are used to run applications and builds on the Eclipse Foundation infrastructure.
- Know the state of the art / best practices of building container images
- Handle OpenShift specifics
- Support Arbitrary User IDs (https://docs.openshift.com/container-platform/3.11/creating_images/guidelines.html#use-uid)
If you want to add a new drupal-node image you will need to add a new line in two places:
- https://github.com/EclipseFdn/dockerfiles/blob/master/build.sh
build_arg drupal-node d10.3.13-n22.14.0 "--build-arg DRUPAL_VERSION=10.3.13 --build-arg NODE_VERSION=v22.14.0" latest build_arg drupal-node d11.1.3-n22.14.0 "--build-arg DRUPAL_VERSION=11.1.3 --build-arg NODE_VERSION=v22.14.0" - https://github.com/EclipseFdn/dockerfiles/blob/master/Jenkinsfile
stage('drupal-node') { steps { buildImage('drupal-node', 'd10.3.13-n22.14.0', 'drupal-node', ['DRUPAL_VERSION':'10.3.13', 'NODE_VERSION': 'v22.14.0'], true) buildImage('drupal-node', 'd11.1.3-n22.14.0', 'drupal-node', ['DRUPAL_VERSION':'11.1.3', 'NODE_VERSION': 'v22.14.0']) } }
build.sh
- You will need to add
latestas the last parameter on the line of the specific version as seen above.
Jenkinsfile
- You will need to add
trueas the last parameter on the line of the specific version as seen above.
Please note, only one image can have the latest tag at a time.
build.sh can be used for local testing. The Jenkinsfile is used during the CI build, leveraging the Jenkins pipeline library.