docker-scripts/linux/advanced/mattermost/Dockerfile

17 lines
437 B
Docker
Raw Normal View History

2021-11-01 19:01:24 +03:00
FROM mattermost/mattermost-enterprise-edition as bootstrap
RUN cd ./bin && \
ls -las
FROM python:2.7-buster as edit
COPY edit.py /tmp/edit.py
COPY --from=bootstrap /mattermost/bin/mattermost /tmp/mattermost
RUN cd /tmp && \
chmod +x ./edit.py && \
./edit.py
FROM mattermost/mattermost-enterprise-edition
RUN rm -rfv /mattermost/bin/mattermost
COPY --from=edit /tmp/mattermost /mattermost/bin/
RUN cd ./bin && \
ls -las