Open dduportal opened 2 years ago
buildx
because we want to build multi architectures imagesWDYT about using Chocolatey to install most of them if available?
WDYT about using Chocolatey to install most of them if available?
If the version can be specified: yes (would be most usefull). Otherwise nope.
If the version can be specified: yes
Yes: https://docs.chocolatey.org/en-us/choco/commands/install#examples
Docker buildx should already be included with Docker (needs Docker for Desktop for Windows though):
Docker buildx should already be included with Docker (needs Docker for Desktop for Windows though):
About this:
Given that we use Windows container on Windows VMs, and that buildx is not supported for windows container, WDYT about only adding buildx on linux templates (+add a comment on the tools version YAML explaining why it's not supported) ?
Adding NodeJS (ref. https://github.com/jenkins-infra/packer-images/pull/468, #475 and #476)
not sure we need to install oniguruma
as per https://github.com/jenkins-infra/docker-hashicorp-tools/blob/fe538ce08d4ccc8e2d86df0f730b12bea4d097e1/Dockerfile#L25C1-L26C14
no occurrence of onig
in jenkins-infra
- [ ] Docker
buildx
because we want to build multi architectures images
Done in #1215
Given that we use Windows container on Windows VMs, and that buildx is not supported for windows container, WDYT about only adding buildx on linux templates (+add a comment on the tools version YAML explaining why it's not supported) ?
Now supported, see PR for ref 🙂
Now supported, see PR for ref 🙂
Only on client side :) But still useful as per your PR
The jenkins infrastructure requires additional tools that should be installed in these templates:
jx-release-version
because of https://github.com/jenkins-infra/pipeline-library/blob/544d04d1dbc67cbe7aed681924c44488bb00b6b6/vars/buildDockerAndPublishImage.groovy#L63-L74gh
CLI because of https://github.com/jenkins-infra/pipeline-library/blob/master/vars/buildDockerAndPublishImage.groovy#L178-L189container-structure-test
tool because of https://github.com/jenkins-infra/pipeline-library/blob/master/vars/buildDockerAndPublishImage.groovy#L110-L129 ~- [ ] The 'uc` andjenkins-version
CLIs because of https://github.com/jenkins-infra/docker-jenkins-weekly and https://github.com/jenkins-infra/docker-jenkins-lts~ (removed from initial list as we favor using the jenkins-plugin-cli instead)updatecli
because... well... jenkins infra uses it everywhere - https://github.com/jenkins-infra/packer-images/pull/398hadolint
tool because of https://github.com/jenkins-infra/pipeline-library/blob/544d04d1dbc67cbe7aed681924c44488bb00b6b6/vars/buildDockerAndPublishImage.groovyasdf
tool because of https://github.com/jenkins-infra/jenkins.io/blob/65ab9b3afea35bcef7128a229e6f1a34158223f1/Jenkinsfile_k8s#L122 and to provide additional values to users (any tool could be quickly installed on the go)awscli
- https://github.com/jenkins-infra/packer-images/pull/402az
(Azure CLI)doctl
- https://github.com/jenkins-infra/packer-images/pull/950infracost
~ (as per https://github.com/jenkins-infra/packer-images/pull/393)jq
- https://github.com/jenkins-infra/packer-images/pull/216yq
- https://github.com/jenkins-infra/packer-images/pull/277xq
- https://github.com/jenkins-infra/packer-images/pull/958