Move enterprise version into this branch (#94)

Since the only difference is mattermost package and  we don't want
to maintain two difference branches, just moved the enterprise version
into a alternative dockerfile
This commit is contained in:
Pan Luo authored and GitHub committed 2017-03-13 15:26:45 -07:00
1 parent 1a967e8bf3
commit 82f13b1e4c
5 files changed
+60 -7

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
FROM ubuntu:14.04
ENV PATH="/mattermost/bin:${PATH}"
RUN apt-get update && apt-get -y install curl netcat
RUN mkdir -p /mattermost/data
ENV MM_VERSION=3.6.2
RUN curl https://releases.mattermost.com/$MM_VERSION/mattermost-$MM_VERSION-linux-amd64.tar.gz | tar -xvz
RUN rm /mattermost/config/config.json
COPY config.template.json /
COPY docker-entry.sh /
RUN chmod +x /docker-entry.sh
ENTRYPOINT ["/docker-entry.sh"]
EXPOSE 80
VOLUME /mattermost/data
WORKDIR /mattermost/bin
CMD ["platform"]