-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'new/apps_rewrite' of github.com:RocketChat/Rocket.Chat …
…into new/apps_rewrite_local * 'new/apps_rewrite' of github.com:RocketChat/Rocket.Chat: (30 commits) Sort imports Move sidebar items registration Embed useMenuOptions into AppMenu Fix route redirection Fix lint errors Fix infinite loop in CodeSettingInput Fix spacing in What Is It page [IMPROVE] Performance editing Admin settings (#17916) [IMPROVE] React hooks lint rules (#17941) [FIX] StreamCast stream to server only streamers (#17942) [FIX] Profile save button not activates properly when changing the username field (#16541) [FIX] Outgoing webhook: Excessive spacing between trigger words (#17830) [FIX] Links being escaped twice leading to visible encoded characters (#16481) [NEW][API] New endpoints to manage User Custom Status `custom-user-status.create`, custom-user-status.delete` and `custom-user-status.update` (#16550) [FIX] Message action popup doesn't adjust itself on screen resize (#16508) [FIX] Not possible to translate the label of custom fields in user's Info (#15595) [FIX] Close the user info context panel does not navigate back to the user's list (#14085) [FIX] Missing pinned icon indicator for messages pinned (#16448) Chatpal: limit results to current room (#17718) Do not build Docker image for fork PRs (#17370) ...
- Loading branch information
Showing
235 changed files
with
6,259 additions
and
2,737 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 |
---|---|---|
@@ -1,24 +1,40 @@ | ||
FROM rocketchat/base:12.16.1 | ||
FROM node:12.16.1-buster-slim | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
# Install MongoDB and dependencies | ||
RUN set -x \ | ||
&& apt-get update \ | ||
&& apt-get install -y wget \ | ||
&& wget -qO - https://www.mongodb.org/static/pgp/server-4.0.asc | apt-key add - \ | ||
&& echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y pwgen mongodb-org \ | ||
&& apt-get clean my room | ||
&& apt-get update \ | ||
&& apt-get install -y wget gnupg dirmngr pwgen \ | ||
&& wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add - \ | ||
&& echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y mongodb-org fontconfig \ | ||
&& apt-get clean my room \ | ||
&& groupadd -g 65533 -r rocketchat \ | ||
&& useradd -u 65533 -r -g rocketchat rocketchat \ | ||
&& mkdir -p /app/uploads \ | ||
&& chown rocketchat:rocketchat /app/uploads | ||
|
||
ADD . /app | ||
ADD entrypoint.sh /app/bundle/ | ||
|
||
RUN set -x \ | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install \ | ||
&& npm cache clear --force \ | ||
&& chown -R rocketchat:rocketchat /app | ||
RUN aptMark="$(apt-mark showmanual)" \ | ||
&& apt-get install -y --no-install-recommends g++ make python ca-certificates \ | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install \ | ||
&& apt-mark auto '.*' > /dev/null \ | ||
&& apt-mark manual $aptMark > /dev/null \ | ||
&& find /usr/local -type f -executable -exec ldd '{}' ';' \ | ||
| awk '/=>/ { print $(NF-1) }' \ | ||
| sort -u \ | ||
| xargs -r dpkg-query --search \ | ||
| cut -d: -f1 \ | ||
| sort -u \ | ||
| xargs -r apt-mark manual \ | ||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ | ||
&& npm cache clear --force \ | ||
&& chown -R rocketchat:rocketchat /app | ||
|
||
VOLUME /app/uploads | ||
|
||
|
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
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 |
---|---|---|
@@ -1,14 +1,33 @@ | ||
FROM rocketchat/base:12.16.1 | ||
|
||
ADD . /app | ||
FROM node:12.16.1-buster-slim | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN set -x \ | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install \ | ||
&& npm cache clear --force \ | ||
&& chown -R rocketchat:rocketchat /app | ||
# dependencies | ||
RUN groupadd -g 65533 -r rocketchat \ | ||
&& useradd -u 65533 -r -g rocketchat rocketchat \ | ||
&& mkdir -p /app/uploads \ | ||
&& chown rocketchat:rocketchat /app/uploads \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends fontconfig | ||
|
||
ADD . /app | ||
|
||
RUN aptMark="$(apt-mark showmanual)" \ | ||
&& apt-get install -y --no-install-recommends g++ make python ca-certificates \ | ||
&& cd /app/bundle/programs/server \ | ||
&& npm install \ | ||
&& apt-mark auto '.*' > /dev/null \ | ||
&& apt-mark manual $aptMark > /dev/null \ | ||
&& find /usr/local -type f -executable -exec ldd '{}' ';' \ | ||
| awk '/=>/ { print $(NF-1) }' \ | ||
| sort -u \ | ||
| xargs -r dpkg-query --search \ | ||
| cut -d: -f1 \ | ||
| sort -u \ | ||
| xargs -r apt-mark manual \ | ||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \ | ||
&& npm cache clear --force \ | ||
&& chown -R rocketchat:rocketchat /app | ||
|
||
USER rocketchat | ||
|
||
|
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.