jq and curl

This commit is contained in:
2026-05-06 17:30:34 +03:00
parent 0b1ba393df
commit b5e10495fe
7 changed files with 17 additions and 12 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
FROM golang:1.26-bookworm
ARG GOLANGCI_LINT_VERSION=v2.11.4
ARG GOLANGCI_LINT_VERSION=v2.12.2
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates curl gnupg bash git && \
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 && \
@@ -10,7 +10,6 @@ RUN apt-get update && \
apt-get update && \
apt-get install -y --no-install-recommends nodejs && \
go version && node -v && npm -v && \
apt-get purge -y --auto-remove gnupg && \
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}