Skip to content

feat(docker): init docker images workflow#4

Merged
TheElectronWill merged 2 commits into
alumet-dev:mainfrom
ahuret:main
Mar 24, 2025
Merged

feat(docker): init docker images workflow#4
TheElectronWill merged 2 commits into
alumet-dev:mainfrom
ahuret:main

Conversation

@ahuret
Copy link
Copy Markdown
Contributor

@ahuret ahuret commented Mar 19, 2025

Adding github workflow to build docker images.
This PR covers 5 docker images:

  • Fedora 42
  • Redhat UBI 8.3
  • Redhat UBI 9.5
  • Debian 12
  • Ubuntu 25.04

Redhat UBI's images have been optimized to have minimum size (69MB that could maybe be optimized to 49MB with tricks) and sounds as good production images. The 9.5 version is also tagged as the latest image in the registry.
Others are > 100 MB and comes with package manager which make them more convenient for debug purpose.

The PR doesn't cover ARCH and only cover x86_64 (amd64) even if it gets an input variable "target-architecture". This will come in another PR later.

A job of tests is also added in the workflow and use dgoss (goss for docker) and use same validation YAML values as RPM and Debian workflows without package and systemd unit concerns.

The docker repository comes with a README.md file that aims to help user to use docker image with RAPL plugin and could be extended for other use cases specific to docker images.

Comment thread .github/dgoss_validate.yaml Outdated
Comment thread .github/workflows/build_docker.yaml Outdated
Comment thread .github/workflows/build_docker.yaml Outdated
Comment thread .github/workflows/build_docker.yaml Outdated
Comment thread .github/workflows/build_docker.yaml Outdated
Comment thread .dockerignore Outdated
@ahuret ahuret force-pushed the main branch 4 times, most recently from bb8e7ff to 8493c0f Compare March 19, 2025 14:06
Comment thread docker/ubuntu/Dockerfile Outdated
Comment thread docker/README.md Outdated
Comment thread .github/workflows/build_docker.yaml
Comment thread .github/workflows/build_docker.yaml
Copy link
Copy Markdown
Contributor

@titouanj titouanj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to rebase your banch
And I don't know if the author LABEL should be you or not

@ahuret
Copy link
Copy Markdown
Contributor Author

ahuret commented Mar 21, 2025

@titouanj done for the rebase ! And yes we talked a bit about the author thing with @TheElectronWill and I think we decided this, but we could instead use another one.

@TheElectronWill
Copy link
Copy Markdown
Member

TheElectronWill commented Mar 21, 2025

After reading some doc I think that the best would be to have a specific alumet email that redirects to our emails. So we can something like contributors@alumet.dev as the main maintainer list. But IMO it could sill make sense to keep Antoine's email in the list if he maintains the image for a bit.

@ahuret
Copy link
Copy Markdown
Contributor Author

ahuret commented Mar 21, 2025

Finally made the change to maintainers@alumet.dev after discussion with @TheElectronWill

titouanj
titouanj previously approved these changes Mar 21, 2025
Comment thread docker/fedora/Dockerfile Outdated
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.

3 participants