Skip to content

Commit

Permalink
fixed version on the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
engelgabriel committed Mar 1, 2016
1 parent f3580b9 commit 40d4f47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 20 deletions.
31 changes: 12 additions & 19 deletions .docker/develop/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
FROM node:0.10
FROM rocketchat/base

# IMPORTANT - FOR TESTING ONLY - DO NOT USE THIS FOR DEVELOPMENT OR PRODUCTION!
MAINTAINER [email protected]
ENV RC_VERSION develop

RUN groupadd -r rocketchat \
&& useradd -r -g rocketchat rocketchat
MAINTAINER [email protected]

VOLUME /app/uploads

# gpg: key 4FD08014: public key "Rocket.Chat Buildmaster <[email protected]>" imported
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104

ENV RC_VERSION develop

WORKDIR /app

RUN curl -fSL "https://rocket.chat/releases/${RC_VERSION}/download" -o rocket.chat.tgz \
&& curl -fSL "https://rocket.chat/releases/${RC_VERSION}/asc" -o rocket.chat.tgz.asc \
&& gpg --verify rocket.chat.tgz.asc \
&& tar zxvf rocket.chat.tgz \
&& rm rocket.chat.tgz \
&& cd bundle/programs/server \
&& npm install
RUN set -x \
&& curl -SLf "https://rocket.chat/releases/${RC_VERSION}/download" -o rocket.chat.tgz \
&& curl -SLf "https://rocket.chat/releases/${RC_VERSION}/asc" -o rocket.chat.tgz.asc \
&& gpg --verify rocket.chat.tgz.asc \
&& tar -zxf rocket.chat.tgz -C /app \
&& rm rocket.chat.tgz rocket.chat.tgz.asc \
&& cd /app/bundle/programs/server \
&& npm install \
&& npm cache clear

USER rocketchat

Expand Down
2 changes: 1 addition & 1 deletion .docker/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM rocketchat/base

ENV RC_VERSION develop
ENV RC_VERSION latest

MAINTAINER [email protected]

Expand Down

0 comments on commit 40d4f47

Please sign in to comment.