From 391ecd5c37654b7ea8e47fafd40276e43794cbaa Mon Sep 17 00:00:00 2001 From: thopic Date: Mon, 13 Feb 2023 11:05:56 +0100 Subject: [PATCH] [MM] Bump alpine to 3.17, MM to 7.7.1 and pass MM_VERSION arg in docker-compose --- mattermost/Dockerfile | 4 ++-- mattermost/docker-compose.yml | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/mattermost/Dockerfile b/mattermost/Dockerfile index 9ffce13..97be545 100644 --- a/mattermost/Dockerfile +++ b/mattermost/Dockerfile @@ -1,10 +1,10 @@ -FROM alpine:3.11 +FROM alpine:3.17 # Some ENV variables ENV PATH="/mattermost/bin:${PATH}" -ENV MM_VERSION=7.5.2 # Build argument to set Mattermost edition +ARG MM_VERSION ARG PUID=2000 ARG PGID=2000 diff --git a/mattermost/docker-compose.yml b/mattermost/docker-compose.yml index 5dfe73c..15ab9f0 100644 --- a/mattermost/docker-compose.yml +++ b/mattermost/docker-compose.yml @@ -11,8 +11,11 @@ services: env_file: secrets/db.secrets app: - build: . - image: mm_app:7.5.2 + image: mm_app:7.7.1 + build: + context: . + args: + MM_VERSION: 7.7.1 depends_on: - db restart: unless-stopped