From 9b9db9f95b6f35feec5e12694d5d8fe2276259cd Mon Sep 17 00:00:00 2001 From: Jannik Hollenbach Date: Mon, 3 Feb 2025 20:23:51 +0100 Subject: [PATCH 1/3] Add arm64 to platforms so that we build our image for ARM too Signed-off-by: Jannik Hollenbach --- scanners/ssh-audit/Chart.yaml | 2 +- scanners/sslyze/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scanners/ssh-audit/Chart.yaml b/scanners/ssh-audit/Chart.yaml index 06cfd0b41e..b2aabbfedf 100644 --- a/scanners/ssh-audit/Chart.yaml +++ b/scanners/ssh-audit/Chart.yaml @@ -12,7 +12,7 @@ kubeVersion: ">=v1.11.0-0" annotations: versionApi: https://api.github.com/repos/jtesta/ssh-audit/releases/latest # supported cpu architectures for which docker images for the scanner should be build - supported-platforms: linux/amd64 + supported-platforms: linux/amd64,linux/arm64 keywords: - security - ssh diff --git a/scanners/sslyze/Chart.yaml b/scanners/sslyze/Chart.yaml index 52876a5741..2ca9905756 100644 --- a/scanners/sslyze/Chart.yaml +++ b/scanners/sslyze/Chart.yaml @@ -12,7 +12,7 @@ appVersion: "6.1.0" kubeVersion: ">=v1.11.0-0" annotations: versionApi: https://api.github.com/repos/nabla-c0d3/sslyze/releases/latest - supported-platforms: linux/amd64 + supported-platforms: linux/amd64,linux/arm64 keywords: - security - ssl From d4c88d253fe544fb03f76071718200a9d4018350 Mon Sep 17 00:00:00 2001 From: Jannik Hollenbach Date: Mon, 3 Feb 2025 20:24:04 +0100 Subject: [PATCH 2/3] Add arm64 to platforms so that the docs match up Signed-off-by: Jannik Hollenbach --- scanners/semgrep/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanners/semgrep/Chart.yaml b/scanners/semgrep/Chart.yaml index ac7cff6e80..2f242d8c95 100644 --- a/scanners/semgrep/Chart.yaml +++ b/scanners/semgrep/Chart.yaml @@ -25,7 +25,7 @@ version: "v3.1.0-alpha1" appVersion: "1.106.0" annotations: versionApi: https://api.github.com/repos/semgrep/semgrep/releases/latest - supported-platforms: linux/amd64 + supported-platforms: linux/amd64,linux/arm64 kubeVersion: ">=v1.11.0-0" home: https://www.securecodebox.io/docs/scanners/semgrep icon: https://www.securecodebox.io/img/integrationIcons/semgrep.svg # TODO: Add this From b2e1be18ed7528d69b56735254f278b05e2e86be Mon Sep 17 00:00:00 2001 From: Jannik Hollenbach Date: Mon, 3 Feb 2025 20:24:41 +0100 Subject: [PATCH 3/3] Remove unnessecary new lines Signed-off-by: Jannik Hollenbach --- scanners/sslyze/scanner/Dockerfile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scanners/sslyze/scanner/Dockerfile b/scanners/sslyze/scanner/Dockerfile index 9678ee14f1..c94558f129 100644 --- a/scanners/sslyze/scanner/Dockerfile +++ b/scanners/sslyze/scanner/Dockerfile @@ -3,15 +3,9 @@ # SPDX-License-Identifier: Apache-2.0 ARG scannerVersion - FROM nablac0d3/sslyze:$scannerVersion - COPY wrapper.sh /wrapper.sh - USER root - RUN mkdir /home/securecodebox/ - USER sslyze - ENTRYPOINT [ "sh", "/wrapper.sh" ]