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

Alpine Docker image includes layer with unused /tmp/glibc-*.apk files #9112

Closed
marvinruder opened this issue Feb 26, 2024 · 0 comments · Fixed by #9113
Closed

Alpine Docker image includes layer with unused /tmp/glibc-*.apk files #9112

marvinruder opened this issue Feb 26, 2024 · 0 comments · Fixed by #9113
Labels
bug Something isn't working

Comments

@marvinruder
Copy link
Contributor

marvinruder commented Feb 26, 2024

What version of Bun is running?

1.0.29+a146856d1

What platform is your computer?

No response

What steps can reproduce the bug?

Have a look at

What is the expected behavior?

The layers

COPY /tmp/glibc.apk /tmp/ # buildkit
COPY /tmp/glibc-bin.apk /tmp/ # buildkit

are not present in the published images.

What do you see instead?

The layers

COPY /tmp/glibc.apk /tmp/ # buildkit
COPY /tmp/glibc-bin.apk /tmp/ # buildkit

are present in the published images.

Additional information

Removing the temporary files in a later RUN command does not remove them from previous layers, those are still shipped.

@marvinruder marvinruder added the bug Something isn't working label Feb 26, 2024
Electroid pushed a commit that referenced this issue Feb 26, 2024
* Fixes #9112

Signed-off-by: Marvin A. Ruder <signed@mruder.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant