From d8c52f8d7442c6fcf276ff03345fcfd2f569f3b6 Mon Sep 17 00:00:00 2001 From: Patrick Schratz Date: Sun, 21 Mar 2021 10:17:41 +0100 Subject: [PATCH] Make MM_VERSION an ARG instead of an ENV (#515) * make MM_VERSION an ARG instead of an ENV --- app/Dockerfile | 2 +- docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Dockerfile b/app/Dockerfile index 20e25ad..a41d038 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -2,7 +2,6 @@ FROM alpine:3.10 # Some ENV variables ENV PATH="/mattermost/bin:${PATH}" -ENV MM_VERSION=5.31.0 ENV MM_INSTALL_TYPE=docker # Build argument to set Mattermost edition @@ -10,6 +9,7 @@ ARG edition=enterprise ARG PUID=2000 ARG PGID=2000 ARG MM_BINARY= +ARG MM_VERSION=5.31.0 # Install some needed packages diff --git a/docker-compose.yml b/docker-compose.yml index f55a0ab..d119245 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,7 @@ services: # - edition=team # - PUID=1000 # - PGID=1000 + # - MM_VERSION=5.31 restart: unless-stopped volumes: - ./volumes/app/mattermost/config:/mattermost/config:rw