Skip to content
Snippets Groups Projects
Unverified Commit 824ceae7 authored by Debdut Chakraborty's avatar Debdut Chakraborty Committed by GitHub
Browse files

chore: update useragent-ng to 2.4.4 (#35055)

parent a4f2102a
No related branches found
No related tags found
No related merge requests found
---
"@rocket.chat/meteor": patch
---
Fixes an issue where the container image could not be run as any random non-root user id.
......@@ -48,6 +48,13 @@ RUN cd /app/bundle/programs/server \
# && npm install isolated-vm@4.6.0 \
# && 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 useragent-ng@2.4.4 --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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment