-
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 pull request #18078 from RocketChat/release-3.4.0
Release 3.4.0
- Loading branch information
Showing
782 changed files
with
24,903 additions
and
11,912 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM registry.access.redhat.com/rhscl/nodejs-8-rhel7 | ||
|
||
ENV RC_VERSION 3.3.3 | ||
ENV RC_VERSION 3.4.0 | ||
|
||
MAINTAINER [email protected] | ||
|
||
|
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.
Oops, something went wrong.