* Update Go version to v1.23.7 * Bump golangci-lint to a version supporting Go 1.23 * Fix golangci-lint warnings Several rules from gosimple, revive and staticcheck linters were failing: - Redefinition of built-in identifiers (max, min, new, recover...) - Use of printf-like functions with simple strings - Check for nil slices, when len already takes it into account * Trigger Build * Trigger Build --------- Co-authored-by: Mattermost Build <build@mattermost.com>
6 строки
317 B
Docker
6 строки
317 B
Docker
FROM golang:1.23.7-bullseye@sha256:8731dcb40a7b879ccb493fa4fa38e83d9f33ca24ab60bec02e98d5af7e962cac
|
|
|
|
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
|
|
|
|
RUN git config --global --add safe.directory /mattermost
|