Skip to content

Commit

Permalink
chore: update useragent-ng to 2.4.4 (#35055)
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb authored Jan 31, 2025
1 parent a4f2102 commit 824ceae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-kids-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixes an issue where the container image could not be run as any random non-root user id.
7 changes: 7 additions & 0 deletions apps/meteor/.docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ RUN cd /app/bundle/programs/server \
# && npm install [email protected] \
# && mv node_modules/isolated-vm npm/node_modules/isolated-vm \
# # End hack for isolated-vm
# TODO: remove with meteor 3.1.2
&& cd /tmp \
&& npm install [email protected] --no-save \
&& rm -rf /app/bundle/programs/server/npm/node_modules/meteor/webapp/node_modules/useragent-ng \
&& mv node_modules/useragent-ng /app/bundle/programs/server/npm/node_modules/meteor/webapp/node_modules/useragent-ng \
&& rm -rf /tmp/node_modules \
# end workaround for useragent-ng/meteor<3.1.2
&& cd /app/bundle/programs/server/npm \
&& npm rebuild bcrypt --build-from-source \
&& npm cache clear --force
Expand Down

0 comments on commit 824ceae

Please sign in to comment.