app: Remove unnecessary things
This commit is contained in:
parent
b7b44e6ff6
commit
49c10d44b2
@ -1,16 +1,8 @@
|
|||||||
FROM ubuntu:14.04
|
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 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 \
|
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
|
&& tar -xvzf mattermost-team-2.1.0-linux-amd64.tar.gz && rm mattermost-team-2.1.0-linux-amd64.tar.gz
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user