Compare commits

...
This repository has been archived on 2021-08-31. You can view files and clone it, but cannot push or open issues or pull requests.

18 Commits

Author SHA1 Message Date
09e18d297d
Bump version to 5.37.2 2021-08-31 16:51:13 +02:00
66d2ac10e1
Bump version to 5.36.2 2021-08-31 16:44:52 +02:00
6bb34f5ac7
Bump version to 5.35.4 2021-06-23 22:48:01 +02:00
0196c9e7e3
Bump version to 5.35.3 2021-06-15 09:52:00 +02:00
03e1eb87ec
Bump version to 5.35.1 2021-05-23 18:13:50 +02:00
03523de4a4
Update edition to team 2021-05-23 17:34:58 +02:00
fe4aecd04f
Merge pull request 'Improve the way app waits for db to be ready' (#1) from db-entrypoint-wait into gnous-5.34
Reviewed-on: #1
2021-05-23 17:31:20 +02:00
4794c59f59
Improve the way app waits for db to be ready
credits : https://gitlab.utc.fr/picasoft/projets/dockerfiles/-/merge_requests/64
2021-05-23 17:26:01 +02:00
a20d22168f
Bump version to 5.34.2 2021-05-23 17:20:29 +02:00
9bbe9cb71a
Upgrade Postgres to 12.7
CERTFR-2021-AVI-381
2021-05-16 16:48:19 +02:00
bb9c315f55
Upgrade Postgre to 12.6
CERTFR-2021-AVI-117
2021-05-10 22:45:16 +02:00
6ce22d0c6a
Merge branch 'release-5.33' into gnous-5.33 2021-05-10 22:44:45 +02:00
4e3182df25
Update Python to 3 2021-04-14 10:14:33 +02:00
2db1b7d36b
Update Postgres image to 12.5 2021-04-14 10:13:36 +02:00
Mmbot
d8bfbfb2a3 Bump version to 5.33.3. 2021-03-31 16:24:45 +00:00
Mmbot
3fbb1bc49d Bump version to 5.33.2. 2021-03-25 16:26:34 +00:00
Mmbot
7e683c329a Bump version to 5.33.1. 2021-03-22 12:12:35 +00:00
Mmbot
a0c8f65ec1 Bump version to 5.33.0. 2021-03-17 17:50:06 +00:00
3 changed files with 10 additions and 5 deletions

View File

@ -2,11 +2,11 @@ FROM alpine:3.10
# Some ENV variables
ENV PATH="/mattermost/bin:${PATH}"
ENV MM_VERSION=5.31.0
ENV MM_VERSION=5.37.2
ENV MM_INSTALL_TYPE=docker
# Build argument to set Mattermost edition
ARG edition=enterprise
ARG edition=team
ARG PUID=2000
ARG PGID=2000
ARG MM_BINARY=
@ -25,6 +25,7 @@ RUN apk add --no-cache \
netcat-openbsd \
xmlsec-dev \
tzdata \
postgresql-client \
&& rm -rf /tmp/*
# Get Mattermost

View File

@ -74,7 +74,11 @@ if [ "$1" = 'mattermost' ]; then
# Wait another second for the database to be properly started.
# Necessary to avoid "panic: Failed to open sql connection pq: the database system is starting up"
sleep 1
until pg_isready -h $DB_HOST -p $DB_PORT_NUMBER
do
echo "Database is not ready yet. Waiting 5 seconds."
sleep 5
done
echo "Starting mattermost"
fi

View File

@ -1,4 +1,4 @@
FROM postgres:9.4-alpine
FROM postgres:12.7-alpine
ENV DEFAULT_TIMEZONE UTC
@ -10,7 +10,7 @@ RUN apk add --no-cache \
libc6-compat \
libffi-dev \
linux-headers \
python-dev \
python3-dev \
py-pip \
py-cryptography \
pv \