-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,12 @@ ENV LANG=C.UTF-8 | |
# While 65533 raw gid could be used, renaming nogroup to rocketchat here for maximum compatibility with older debian image. | ||
# More info on nobody/nogroup - https://wiki.ubuntu.com/nobody | ||
# Debian wiki - https://wiki.debian.org/SystemGroups | ||
# "daemon: Some unprivileged daemons that need to write to files on disk run as daemon.daemon (e.g., portmap, atd, probably others). | ||
# Daemons that don't need to own any files can run as nobody.nogroup instead, | ||
# and more complex or security conscious daemons run as dedicated users. | ||
# The daemon user is also handy for locally installed daemons." | ||
# """ | ||
# daemon: Some unprivileged daemons that need to write to files on disk run as daemon.daemon (e.g., portmap, atd, probably others). | ||
# Daemons that don't need to own any files can run as nobody.nogroup instead, | ||
# and more complex or security conscious daemons run as dedicated users. | ||
# The daemon user is also handy for locally installed daemons. | ||
# """ | ||
RUN apk add --no-cache deno ttf-dejavu \ | ||
&& apk add --no-cache --virtual .usermod shadow \ | ||
&& groupmod -n rocketchat nogroup \ | ||
|
@@ -42,9 +44,9 @@ RUN cd /app/bundle/programs/server \ | |
&& npm install [email protected] --no-save \ | ||
&& mv node_modules/sharp npm/node_modules/sharp \ | ||
# End hack for sharp | ||
# Start hack for isolated-vm... | ||
# # Start hack for isolated-vm... | ||
# && rm -rf npm/node_modules/isolated-vm \ | ||
# && npm install [email protected] --no-save \ | ||
# && npm install [email protected] \ | ||
# && mv node_modules/isolated-vm npm/node_modules/isolated-vm \ | ||
# End hack for isolated-vm | ||
&& cd /app/bundle/programs/server/npm/node_modules/@vector-im/matrix-bot-sdk \ | ||
|