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

chore(wren-ui): change alpine to bookworm-slim #1017

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

cyyeh
Copy link
Member

@cyyeh cyyeh commented Dec 18, 2024

Context:
One community member reported that wren-ui docker image couldn't run in his environment(x86-64, Ubuntu, docker error code: 132). He solved the issue by changing the base image. Then we found that there are truly potential issues using alpine as base image. So, we change the base image from alpine to bookworm-slim.

ref: https://snyk.io/blog/choosing-the-best-node-js-docker-image/

Result:
tested in local environment

original:

  • image: ghcr.io/canner/wren-ui:0.18.0
  • size: 184MB

new

  • image: wrenai-wren-ui:latest
  • size: 249MB

@cyyeh cyyeh requested a review from wwwy3y3 December 18, 2024 14:31
@cyyeh cyyeh added the module/ui UI related label Dec 18, 2024
@wwwy3y3 wwwy3y3 merged commit eb9575e into main Dec 18, 2024
10 checks passed
@wwwy3y3 wwwy3y3 deleted the chore/change-ui-base-image branch December 18, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/ui UI related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants