Skip to content

Commit 3a69e97

Browse files
committed
use alpine
1 parent 906f8a0 commit 3a69e97

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/base/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM archlinux:base-20260315.0.500537 AS build
1+
FROM alpine:3.23.3 AS build
22
ARG TARGETARCH
3-
RUN pacman -Sy --noconfirm cosign bash curl jq
3+
RUN apk add --no-cache cosign bash curl jq
44
COPY scripts/install_trivy.sh /tmp/install_trivy.sh
55
RUN case "${TARGETARCH}" in \
66
x86_64|amd64) TRIVY_ARCH=64bit ;; \

src/base/.devcontainer/Dockerfile.trivy.amd64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM archlinux:base-20260315.0.500537 AS build
1+
FROM alpine:3.23.3 AS build
22
ARG TARGETARCH
3-
RUN pacman -Sy --noconfirm cosign bash curl jq
3+
RUN apk add --no-cache cosign bash curl jq
44
COPY scripts/install_trivy.sh /tmp/install_trivy.sh
55
RUN INSTALL_DIR=/tmp/trivy/ ARCH=64bit /tmp/install_trivy.sh
66

src/base/.devcontainer/Dockerfile.trivy.arm64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM archlinux:base-20260315.0.500537 AS build
1+
FROM alpine:3.23.3 AS build
22
ARG TARGETARCH
3-
RUN pacman -Sy --noconfirm cosign bash curl jq
3+
RUN apk add --no-cache cosign bash curl jq
44
COPY scripts/install_trivy.sh /tmp/install_trivy.sh
55
RUN INSTALL_DIR=/tmp/trivy/ ARCH=ARM64 /tmp/install_trivy.sh
66

0 commit comments

Comments
 (0)