From e4e15083b0084d414d655e32fba9cbae1898a481 Mon Sep 17 00:00:00 2001 From: Jonathan Serafini Date: Tue, 18 Jun 2024 12:54:31 -0400 Subject: [PATCH] add ubuntu support (#12) --- scanner.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scanner.yml b/scanner.yml index 5598042..8db5876 100644 --- a/scanner.yml +++ b/scanner.yml @@ -2,7 +2,18 @@ image: "docker:26.1.0" before_script: - - apk add --no-cache bash curl git openssh-client coreutils + - | + { + source /etc/os-release || true + case "${ID:-unknown}" in + alpine) + apk add --no-cache bash curl git openssh-client coreutils + ;; + unknown) + echo "Unable to detect operating system" + ;; + esac; + } - | boost_init_config () { boost_log_info () {