* [fix] Dockerfile using Debian instead of Alpine We are switching to building docker container for Matermmost-server & enterprise from Alpine Linux(unsupported) to Debian(supported) This image is used for e2e testing. Rationalle: Alpine is actually unsupported distro for Mattermost-server. https://docs.mattermost.com/install/software-hardware-requirements.html#mattermost-server-operating-system On top of that, Alpine linux uses musl libc vs glibc, which can cause several issues when testing Finally We got to a point of being unable to run Alpine based mattermost instances with: `Error relocating ./mattermost: fcntl64: symbol not found` Details @ https://github.com/mattermost/mattermost-server/pull/20735 Specifically the following changes are introduced: - switching to using Debian Buster as being a supported linux flavor for Mattermost - pinning the Debian base image with SHA hash - defining Shell as bash, and enabling pipefail - pinning additional packages installed using apt - removing unused cache - improving MM_PACKAGE variable checking logic introducing non zero exit code (127) when failing - migrating adduser and addgroup command, to debian compatible - removing unused chown dirs Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com> * [fix] Using bash as a more capable shell * [fix] Installing optional packages needed for tests These packages are needed to perform succesfull end to end testing. Relevant documentation: https://docs.mattermost.com/configure/file-storage-configuration-settings.html#enable-document-search-by-content Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
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-2018which is based on Go 1.11 you can use for MM versions <=5.8.0mattermost/mattermost-build-server:feb-28-2019which is based on Go 1.12 you can use for MM versions >=5.9.0<=5.15.0mattermost/mattermost-build-server:sep-17-2019which is based on Go 1.12.9 you can use for MM versions >=5.16.0mattermost/mattermost-build-server:20200322_golang-1.14.1which is based on Go 1.14.1 you can use for MM versions >=5.24.xmattermost/mattermost-build-server:20201023_golang-1.14.6which is based on Go 1.14.6 you can use for MM versions >=5.25.xmattermost/mattermost-build-server:20201119_golang-1.15.5which is based on Go 1.15.5 you can use for MM versions >=5.26.xto5.37.xmattermost/mattermost-build-server:20210810_golang-1.16.7which is based on Go 1.16.X you can use for MM versions >=5.38.x