FILE / ScuroNeko/ActionRunners

go.Dockerfile

Исходный файл и его история в репозитории.
FILE main
Files

29 lines
923 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 \
gnupg \
bash \
git \
curl \
wget \
jq \
zip \
unzip \
file \
tar \
gzip \
xz-utils \
rsync && \
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}