853e955b62
We should not use such a long `HEALTHCHECK` `--interval` as first task check if happening after given time, and before healthcheck returns `0` – **task won't be available** to the Docker networks – meaning that Mattermost won't work until then even if it deployed correctly! And in Docker envs it happens often – that DB is available all the time, and just MM app is being updated. In this case even if we are healthy since 1s – we need to wait 5min until it goes online. |
||
---|---|---|
.. | ||
docker | ||
docker-compose.common.yml | ||
docker-compose.optional.yml | ||
docker-compose.yml | ||
Dockerfile | ||
Dockerfile.buildenv | ||
entrypoint.sh | ||
Jenkinsfile.branch | ||
Jenkinsfile.pr | ||
legacy.mk | ||
local-test-env.sh | ||
MIT-COMPILED-LICENSE.md | ||
plugin-production-public-key.gpg | ||
PRIVACY_POLICY.md | ||
README.md | ||
release.mk |
About this folder
This folder contains some files that we use to build the mattermost-server
using Jenkins
and other files like privacy policy and licenses.
PRs opened against the mattermost-server
repository will use the file called Jenkinsfile.pr
The Dockerfile
in this folder (Dockerfile.buildenv
) is the build environment for our current builds you can find the docker image to download here or build your own.
Docker Image for building the Server
We have a docker image to build mattermost-server
and it is based on Go docker image.
In our Docker Hub Repository we have the following images:
mattermost/mattermost-build-server:dec-7-2018
which is based on Go 1.11 you can use for MM versions <=5.8.0
mattermost/mattermost-build-server:feb-28-2019
which is based on Go 1.12 you can use for MM versions >=5.9.0
<=5.15.0
mattermost/mattermost-build-server:sep-17-2019
which is based on Go 1.12.9 you can use for MM versions >=5.16.0
mattermost/mattermost-build-server:20200322_golang-1.14.1
which is based on Go 1.14.1 you can use for MM versions >=5.24.0