mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-27 07:05:41 +03:00
16 lines
409 B
Docker
16 lines
409 B
Docker
|
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 && \
|
||
|
./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
|