mirror of
https://github.com/WasserEsser/mattermost-patched-enterprise.git
synced 2026-03-07 05:10:28 +00:00
12 lines
418 B
Docker
12 lines
418 B
Docker
FROM mattermost/mattermost-enterprise-edition:release-11 AS original
|
|
|
|
FROM alpine:latest AS patcher
|
|
RUN apk add --no-cache bash xxd grep
|
|
|
|
COPY --from=original /mattermost/bin/mattermost /mattermost
|
|
|
|
COPY patch.sh /tmp/patch.sh
|
|
RUN chmod +x /tmp/patch.sh && /tmp/patch.sh /mattermost
|
|
|
|
FROM mattermost/mattermost-enterprise-edition:release-11
|
|
COPY --from=patcher --chown=2000:2000 /mattermost /mattermost/bin/mattermost |