[MM] Bump alpine to 3.17, MM to 7.7.1 and pass MM_VERSION arg in docker-compose

This commit is contained in:
thopic 2023-02-13 11:05:56 +01:00
parent 5df1851afd
commit 391ecd5c37
Signed by: thopic
GPG Key ID: 292DBBF0B54AD4C5
2 changed files with 7 additions and 4 deletions

View File

@ -1,10 +1,10 @@
FROM alpine:3.11 FROM alpine:3.17
# Some ENV variables # Some ENV variables
ENV PATH="/mattermost/bin:${PATH}" ENV PATH="/mattermost/bin:${PATH}"
ENV MM_VERSION=7.5.2
# Build argument to set Mattermost edition # Build argument to set Mattermost edition
ARG MM_VERSION
ARG PUID=2000 ARG PUID=2000
ARG PGID=2000 ARG PGID=2000

View File

@ -11,8 +11,11 @@ services:
env_file: secrets/db.secrets env_file: secrets/db.secrets
app: app:
build: . image: mm_app:7.7.1
image: mm_app:7.5.2 build:
context: .
args:
MM_VERSION: 7.7.1
depends_on: depends_on:
- db - db
restart: unless-stopped restart: unless-stopped