app: Remove unnecessary things

This commit is contained in:
Yi EungJun 2016-04-12 14:06:44 +09:00
parent b7b44e6ff6
commit 49c10d44b2

View File

@ -1,16 +1,8 @@
FROM ubuntu:14.04
RUN apt-get update && apt-get -y upgrade && apt-get -y install wget netcat
RUN apt-get update && apt-get -y install wget netcat
RUN mkdir -p /mattermost/data
RUN touch /etc/init/mattermost.conf
RUN echo $'start on runlevel [2345]\n\
stop on runlevel [016]\n\
respawn\n\
chdir /mattermost\n\
exec bin/platform\n'\
>> /etc/init/mattermost.conf
RUN wget https://releases.mattermost.com/2.1.0/mattermost-team-2.1.0-linux-amd64.tar.gz \
&& tar -xvzf mattermost-team-2.1.0-linux-amd64.tar.gz && rm mattermost-team-2.1.0-linux-amd64.tar.gz