Files
team/server/build/Dockerfile.buildenv
zeekayandHanzo Dev 9c0c1c9878 one runner label, one go toolchain
The label names the platform, not the org, and the toolchain is 1.26.8
everywhere.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-09 00:03:01 -07:00

18 lines
807 B
Docker

FROM mattermost/golang-bullseye:1.26.8@sha256:6c979d9bf17e17dcd52fa052867f2910a4b9bca3f10d4c439e0b8f233a53d426
ARG NODE_VERSION=20.11.1
RUN apt-get update && apt-get install -y make git apt-transport-https ca-certificates curl software-properties-common build-essential zip xmlsec1 jq pgloader gnupg
# Download and install node via nvm
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
RUN bash -c "source /root/.nvm/nvm.sh && nvm install $NODE_VERSION && nvm use $NODE_VERSION && nvm alias default $NODE_VERSION"
# Make node and npm globally available
ENV PATH="/root/.nvm/versions/node/v$NODE_VERSION/bin:$PATH"
RUN git config --global --add safe.directory /mattermost
# Remove any existing entrypoint, and use bash as the default command
ENTRYPOINT []
CMD ["bash"]