16 lines
417 B
Docker
16 lines
417 B
Docker
FROM ubuntu:14.04
|
|
|
|
RUN apt-get update && apt-get -y install wget netcat
|
|
RUN mkdir -p /mattermost/data
|
|
|
|
RUN wget https://releases.mattermost.com/2.2.0/mattermost-team-2.2.0-linux-amd64.tar.gz \
|
|
&& tar -xvzf mattermost-team-2.2.0-linux-amd64.tar.gz && rm mattermost-team-2.2.0-linux-amd64.tar.gz
|
|
|
|
COPY config.template.json /
|
|
COPY docker-entry.sh /
|
|
|
|
RUN chmod +x /docker-entry.sh
|
|
ENTRYPOINT /docker-entry.sh
|
|
|
|
EXPOSE 80
|