File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM archlinux:base-20260315.0.500537 AS build
1+ FROM alpine:3.23.3 AS build
22ARG TARGETARCH
3- RUN pacman -Sy --noconfirm cosign bash curl jq
3+ RUN apk add --no-cache cosign bash curl jq
44COPY scripts/install_trivy.sh /tmp/install_trivy.sh
55RUN case "${TARGETARCH}" in \
66 x86_64|amd64) TRIVY_ARCH=64bit ;; \
Original file line number Diff line number Diff line change 1- FROM archlinux:base-20260315.0.500537 AS build
1+ FROM alpine:3.23.3 AS build
22ARG TARGETARCH
3- RUN pacman -Sy --noconfirm cosign bash curl jq
3+ RUN apk add --no-cache cosign bash curl jq
44COPY scripts/install_trivy.sh /tmp/install_trivy.sh
55RUN INSTALL_DIR=/tmp/trivy/ ARCH=64bit /tmp/install_trivy.sh
66
Original file line number Diff line number Diff line change 1- FROM archlinux:base-20260315.0.500537 AS build
1+ FROM alpine:3.23.3 AS build
22ARG TARGETARCH
3- RUN pacman -Sy --noconfirm cosign bash curl jq
3+ RUN apk add --no-cache cosign bash curl jq
44COPY scripts/install_trivy.sh /tmp/install_trivy.sh
55RUN INSTALL_DIR=/tmp/trivy/ ARCH=ARM64 /tmp/install_trivy.sh
66
You can’t perform that action at this time.
0 commit comments