Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docker/base-images/base-admin-tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,20 @@ RUN apk add --no-cache \
bash \
curl \
jq \
yq \
mysql-client \
postgresql-client \
expat \
tini

# Install yq directly from upstream releases rather than the Alpine apk package.
# The Alpine package lags upstream and ships older Go + x/net versions that
# trigger HIGH/CRITICAL grype findings; the upstream release tracks current Go.
ARG TARGETARCH
ARG YQ_VERSION=v4.53.3
RUN curl -fsSL "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_${TARGETARCH}" -o /usr/local/bin/yq \
&& chmod +x /usr/local/bin/yq \
&& /usr/local/bin/yq --version

COPY --from=builder /opt/pipx/venvs/cqlsh /opt/pipx/venvs/cqlsh
RUN ln -s /opt/pipx/venvs/cqlsh/bin/cqlsh /usr/local/bin/cqlsh

Expand Down
Loading