FILE / ScuroNeko/ActionRunners

go.Dockerfile

Исходный файл и его история в репозитории.
FILE b5e10495fe3715c91edd90397055cb74b8970a33
Files
ActionRunners/go.Dockerfile
T
2026-05-06 17:30:34 +03:00

15 lines
795 B
Docker

FROM golang:1.26-bookworm
ARG GOLANGCI_LINT_VERSION=v2.12.2
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates curl gnupg bash git jq && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" \
> /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install -y --no-install-recommends nodejs && \
go version && node -v && npm -v && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b /usr/local/bin ${GOLANGCI_LINT_VERSION}