Skip to content

multi-stage dockerfile: This reduces image size to half compare to ea… #200

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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

StarTrooper08
Copy link
Collaborator

multi-stage dockerfile: This reduces image size to half compare to earlier image version size.

Before multi-stage build
image

After multi-stage build(r-multi-stage build -> r-dev-env image)
image

@hturner
Copy link
Member

hturner commented Mar 21, 2025

This looks okay to me, but I see ubuntu 22.04 is hard-coded. Maybe we can use ubuntu-latest to avoid needed to update later?

@StarTrooper08
Copy link
Collaborator Author

If we use just ubuntu instead of ubuntu:22, it will automatically used as latest.
Will make the following change and also have a look over build process.

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.

2 participants