File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ guard-%:
1212
1313.PHONY : install install-python install-node install-hooks build-base-image build-node-24-image build-node-24-python-3-10-image build-node-24-python-3-12-image build-node-24-python-3-13-image build-node-24-python-3-14-image \
1414 build-eps-storage-terraform-image build-fhir-facade-image build-node-24-python-3-14-golang-1-24-image build-node-24-python-3-14-java-24-image \
15- build-regression-tests-image build-all build-image build-githubactions-image scan-image scan-image-json shell-image lint test lint-githubactions lint-githubaction-scripts github-login clean
15+ build-regression-tests-image build-all build-image build-githubactions-image scan-image scan-image-json shell-image lint test lint-githubactions lint-githubaction-scripts clean
1616install : install-python install-node install-hooks
1717
1818install-python :
Original file line number Diff line number Diff line change 1- FROM golang:1.26.1-bookworm AS build
1+ FROM archlinux:latest AS build
22ARG 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 scripts/install_cosign.sh /tmp/install_cosign.sh
3+ RUN pacman -Sy --noconfirm cosign bash curl jq
84COPY scripts/install_trivy.sh /tmp/install_trivy.sh
9- RUN INSTALL_DIR=/usr/local/bin /tmp/install_cosign.sh
105RUN case "${TARGETARCH}" in \
116 x86_64|amd64) TRIVY_ARCH=64bit ;; \
127 aarch64|arm64) TRIVY_ARCH=ARM64 ;; \
Original file line number Diff line number Diff line change 1- FROM golang:1.26.1-bookworm AS build
2- RUN apt-get update && apt-get install -y \
3- jq \
4- && apt-get clean \
5- && rm -rf /var/lib/apt/lists/*
6- COPY src/base/.devcontainer/scripts/install_cosign.sh /tmp/install_cosign.sh
7- COPY src/base/.devcontainer/scripts/install_trivy.sh /tmp/install_trivy.sh
8- RUN INSTALL_DIR=/usr/local/bin /tmp/install_cosign.sh
1+ FROM archlinux:latest AS build
2+ ARG TARGETARCH
3+ RUN pacman -Sy --noconfirm cosign bash curl jq
4+ COPY scripts/install_trivy.sh /tmp/install_trivy.sh
95RUN INSTALL_DIR=/tmp/trivy/ ARCH=64bit /tmp/install_trivy.sh
106
117FROM scratch
Original file line number Diff line number Diff line change 1- FROM golang:1.26.1-bookworm AS build
2- RUN apt-get update && apt-get install -y \
3- jq \
4- && apt-get clean \
5- && rm -rf /var/lib/apt/lists/*
6- COPY src/base/.devcontainer/scripts/install_cosign.sh /tmp/install_cosign.sh
7- COPY src/base/.devcontainer/scripts/install_trivy.sh /tmp/install_trivy.sh
8- RUN INSTALL_DIR=/usr/local/bin /tmp/install_cosign.sh
1+ FROM archlinux:latest AS build
2+ ARG TARGETARCH
3+ RUN pacman -Sy --noconfirm cosign bash curl jq
4+ COPY scripts/install_trivy.sh /tmp/install_trivy.sh
95RUN INSTALL_DIR=/tmp/trivy/ ARCH=ARM64 /tmp/install_trivy.sh
106
117FROM scratch
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments