From 5ceeef8651c84334d2a8d81aaac32c6a246d0dcc Mon Sep 17 00:00:00 2001 From: "S. Li" Date: Sun, 11 Oct 2015 15:41:50 -0500 Subject: [PATCH] mod dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6c63198280..be972ce9ac5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,16 +3,16 @@ FROM node:0.10 MAINTAINER buildmaster@rocket.chat RUN groupadd -r rocketchat \ -&& useradd -r -g rocketchat rocketchat +&& useradd -r -g rocketchat rocketchat \ +&& mkdir /app # gpg: key 4FD08014: public key "Rocket.Chat Buildmaster " imported RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104 +WORKDIR /app -RUN mkdir /app \ -&& cd /app \ -&& curl -fSL "https://s3.amazonaws.com/rocketchatbuild/rocket.chat-v.latest.tgz" -o rocket.chat.tgz \ -&& tar zxvf ./rocket.chat.tgz /app \ +RUN curl -fSL "https://s3.amazonaws.com/rocketchatbuild/rocket.chat-v.latest.tgz" -o rocket.chat.tgz \ +&& tar zxvf ./rocket.chat.tgz \ && rm ./rocket.chat.tgz \ && cd /app/bundle/programs/server \ && npm install