Skip to content

Commit 830ba49

Browse files
author
Lee Jones
committed
Dockerfile: Remove debian:jessie-slim hack
Now that 8.16.0-slim is released we can use that instead. Signed-off-by: Lee Jones <[email protected]>
1 parent 3c33007 commit 830ba49

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

Dockerfile

+2-21
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
1-
## Start Hack
2-
FROM debian:jessie-slim
3-
## All of this needed because of missing 8.11.x tag. Once we update to 8.15+ we can resume using Dockerfile.old or remove hack and use FROM node:8-slim
1+
FROM node:8.16.0-slim
42

5-
## Installing Node.js
6-
RUN gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
7-
ENV NODE_VERSION 8.11.4
8-
ENV NODE_ENV production
9-
RUN set -eux; \
10-
apt-get update; \
11-
apt-get install -y --no-install-recommends ca-certificates curl; \
12-
rm -rf /var/lib/apt/lists/*; \
13-
curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz"; \
14-
curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc"; \
15-
gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc; \
16-
grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt | sha256sum -c -; \
17-
tar -xf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 --no-same-owner; \
18-
rm "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc SHASUMS256.txt; \
19-
npm cache clear --force
20-
## End Hack
21-
22-
## Actual Rocket.Chat stuff
3+
# crafted and tuned by [email protected] and [email protected]
234
LABEL maintainer="[email protected]"
245

256
RUN groupadd -r rocketchat \

0 commit comments

Comments
 (0)