Files
mattermost/server/build
Eva SarafianouandCursor f434bd9da6 docs: ship offline documentation in the release tarball (#38957)
* docs: ship offline documentation in the release tarball

Package the Docusaurus build into client/_documentation, serve it at
/_documentation, and add mattermost docs for reading install guides when the
server is not running. Stacks on the egress/self-host docs PR.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: address CodeRabbit packaging review findings

Hardlink dedup is atomic (temp link + replace), DOCS_BUNDLE missing fails
the package step, docs HTML skips year-long cache, docs CLI sets
ReadHeaderTimeout, and clean URLs with periods resolve to .html siblings.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: drop redundant localhost comment on mattermost docs bind

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: strip YouTube/Wistia embeds from the offline docs tarball

Hosted docs keep in-page players. Remove those tags when packaging
client/_documentation so airgapped installs do not reference those CDNs.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: strip Wistia preload links from the offline docs tarball

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: move offline docs handler into web/docs.go

Keep static.go focused on InitStatic wiring, and drop a subjective
build-time estimate from the offline bundle README.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 21:50:52 +03:00
..
…

About this folder

This folder contains some files that we use to build the mattermost-server and other files like privacy policy and licenses.

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.x
  • mattermost/mattermost-build-server:20201023_golang-1.14.6 which is based on Go 1.14.6 you can use for MM versions >= 5.25.x
  • mattermost/mattermost-build-server:20201119_golang-1.15.5 which is based on Go 1.15.5 you can use for MM versions >= 5.26.x to 5.37.x
  • mattermost/mattermost-build-server:20210810_golang-1.16.7 which is based on Go 1.16.X you can use for MM versions >= 5.38.x