From 9ad5e68ecd71ad5e8afac8619aa944ed3da788d8 Mon Sep 17 00:00:00 2001 From: yuyang0914 Date: Mon, 8 Jul 2024 18:39:35 +0800 Subject: [PATCH] update --- Dockerfile | 2 +- config/config.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5c174f9..c9ccb372 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ FROM alpine:3.20 as runner # Do not install unnecessary tools to reduce image size. RUN set -eux \ apk update && \ - apk --no-cache add ca-certificates luacheck cppcheck shellcheck git openssh yarn libpcap-dev bison m4 flex gcc musl-dev curl + apk --no-cache add ca-certificates luacheck cppcheck shellcheck git openssh yarn libpcap-dev curl WORKDIR / # check binary RUN cppcheck --version \ diff --git a/config/config.yaml b/config/config.yaml index 72b64a54..17742dec 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -70,5 +70,4 @@ customConfig: # custom config for specific orgs or repos - "--" args: - | - sh scripts/ci/ci_env_init.sh - golangci-lint run --timeout=10m0s --allow-parallel-runners=true --print-issued-lines=false --out-format=line-number >> $ARTIFACT/lint.log 2>&1 \ No newline at end of file + CGO_ENABLED=1 golangci-lint run --timeout=10m0s --allow-parallel-runners=true --print-issued-lines=false --out-format=line-number >> $ARTIFACT/lint.log 2>&1 \ No newline at end of file