We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0575b commit 6af21f1Copy full SHA for 6af21f1
1 file changed
.devcontainer/Dockerfile
@@ -1,12 +1,7 @@
1
-FROM golang:1.26.1-bookworm AS build
+FROM alpine:3.23.3 AS build
2
ARG TARGETARCH
3
-RUN apt-get update && apt-get install -y \
4
- jq \
5
- && apt-get clean \
6
- && rm -rf /var/lib/apt/lists/*
7
-COPY src/base/.devcontainer/scripts/install_cosign.sh /tmp/install_cosign.sh
+RUN apk add --no-cache cosign bash curl jq
8
COPY src/base/.devcontainer/scripts/install_trivy.sh /tmp/install_trivy.sh
9
-RUN INSTALL_DIR=/usr/local/bin /tmp/install_cosign.sh
10
RUN case "${TARGETARCH}" in \
11
x86_64|amd64) TRIVY_ARCH=64bit ;; \
12
aarch64|arm64) TRIVY_ARCH=ARM64 ;; \
0 commit comments