Make MM_VERSION an ARG instead of an ENV (#515)

* make MM_VERSION an ARG instead of an ENV
This commit is contained in:
Patrick Schratz 2021-03-21 10:17:41 +01:00 committed by GitHub
parent 2b12534f90
commit d8c52f8d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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