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 authored and GitHub committed 2021-03-21 10:17:41 +01:00
1 parent 2b12534f90
commit d8c52f8d74
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -2,7 +2,6 @@ FROM alpine:3.10
# Some ENV variables # Some ENV variables
ENV PATH="/mattermost/bin:${PATH}" ENV PATH="/mattermost/bin:${PATH}"
ENV MM_VERSION=5.31.0
ENV MM_INSTALL_TYPE=docker ENV MM_INSTALL_TYPE=docker
# Build argument to set Mattermost edition # Build argument to set Mattermost edition
@@ -10,6 +9,7 @@ ARG edition=enterprise
ARG PUID=2000 ARG PUID=2000
ARG PGID=2000 ARG PGID=2000
ARG MM_BINARY= ARG MM_BINARY=
ARG MM_VERSION=5.31.0
# Install some needed packages # Install some needed packages
+1
View File
@@ -27,6 +27,7 @@ services:
# - edition=team # - edition=team
# - PUID=1000 # - PUID=1000
# - PGID=1000 # - PGID=1000
# - MM_VERSION=5.31
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./volumes/app/mattermost/config:/mattermost/config:rw - ./volumes/app/mattermost/config:/mattermost/config:rw