File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @rocket.chat/meteor " : patch
3+ ---
4+
5+ Fixes an issue where the container image could not be run as any random non-root user id.
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ RUN cd /app/bundle/programs/server \
4848 # && npm install isolated-vm@4.6.0 \
4949 # && mv node_modules/isolated-vm npm/node_modules/isolated-vm \
5050 # # End hack for isolated-vm
51+ # TODO: remove with meteor 3.1.2
52+ && cd /tmp \
53+ && npm install useragent-ng@2.4.4 --no-save \
54+ && rm -rf /app/bundle/programs/server/npm/node_modules/meteor/webapp/node_modules/useragent-ng \
55+ && mv node_modules/useragent-ng /app/bundle/programs/server/npm/node_modules/meteor/webapp/node_modules/useragent-ng \
56+ && rm -rf /tmp/node_modules \
57+ # end workaround for useragent-ng/meteor<3.1.2
5158 && cd /app/bundle/programs/server/npm \
5259 && npm rebuild bcrypt --build-from-source \
5360 && npm cache clear --force
You can’t perform that action at this time.
0 commit comments