Skip to content
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

Rework: Docker images according to best practice #620

Open
Maleware opened this issue Apr 12, 2024 · 2 comments
Open

Rework: Docker images according to best practice #620

Maleware opened this issue Apr 12, 2024 · 2 comments

Comments

@Maleware
Copy link
Contributor

Maleware commented Apr 12, 2024

  1. Split generic COPY stackable/ into subdirectories and copy those only in layers necessary
    Currently we do things like that:

    COPY --chown=stackable:stackable hive/stackable /stackable

    We want to be a bit more precise with that.

  2. We need to take care about when to create which layer in terms of what is changing often in the end, less changing in the Beginning
    We should reduce build times and avoid changing layers to often.

This will have the advantage of reducing buildtimes and only change layers when the change is really in there.

@fhennig
Copy link
Contributor

fhennig commented Apr 15, 2024

that sounds like a good idea!

@lfrancke
Copy link
Member

I think we mostly already do this.
I'm not sure how actionable this ticket really is.

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

No branches or pull requests

3 participants