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