mirror of
https://gitlab.anthaathi.net/omkar/mattermost-patched-enterprise.git
synced 2026-10-06 13:03:41 +00:00
Dockerfile: use MATTERMOST_IMAGE_TAG build arg
This commit is contained in:
+3
-2
@@ -1,4 +1,5 @@
|
||||
FROM mattermost/mattermost-enterprise-edition:release-11 AS original
|
||||
ARG MATTERMOST_IMAGE_TAG=release-11
|
||||
FROM mattermost/mattermost-enterprise-edition:${MATTERMOST_IMAGE_TAG} AS original
|
||||
|
||||
FROM alpine:latest AS patcher
|
||||
RUN apk add --no-cache bash xxd grep gawk util-linux file
|
||||
@@ -8,5 +9,5 @@ COPY --from=original /mattermost/bin/mattermost /mattermost
|
||||
COPY patch.sh /tmp/patch.sh
|
||||
RUN chmod +x /tmp/patch.sh && /tmp/patch.sh --quiet /mattermost
|
||||
|
||||
FROM mattermost/mattermost-enterprise-edition:release-11
|
||||
FROM mattermost/mattermost-enterprise-edition:${MATTERMOST_IMAGE_TAG}
|
||||
COPY --from=patcher --chown=2000:2000 /mattermost /mattermost/bin/mattermost
|
||||
Reference in New Issue
Block a user