New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: replace ubuntu base image with chainguard static #12671
base: main
Are you sure you want to change the base?
Conversation
This is not needed anymore now that the apm-server binary is running directly. Finally, tini has been merged into docker and can be enabled with the --init flag.
By default chainguard image is running with a user called nonroot with id 65532. Set proper ownership using --chown Update config in the builder image as busybox tools are missing from the final image.
This pull request does not have a backport label. Could you fix it @kruskall? 🙏
NOTE: |
This pull request is now in conflicts. Could you fix it @kruskall? 🙏
|
Motivation/summary
See https://edu.chainguard.dev/chainguard/chainguard-images/reference/static/
Migrate docker base image to
cgr.dev/chainguard/static:latest
. This Image has a single user nonroot with uid 65532, belonging to gid 65532. The image produced from the make task went from 196Mb to 61Mb.Remove tini as it's currently included in docker and call the apm-server binary directly in the entrypoint.
Checklist
For functional changes, consider:
How to test these changes
Related issues
Closes #11918
Blocked by #12670