From cebf673ca7b3d7c9a8228bb5e2b785f8b5684e94 Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Tue, 14 Mar 2023 11:23:48 +0530 Subject: [PATCH] disable hadolint --- .github/workflows/linter.yml | 1 + Dockerfile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 43fcbc7e..b787221c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -7,6 +7,7 @@ linter: # Disabled linters - gitleaks # Remove this line to enable gitleaks + - hadolint # Enabled linters # - ansible-lint diff --git a/Dockerfile b/Dockerfile index 2f29f02f..feba64e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,9 @@ ENV PACKAGES git build-base WORKDIR /go/src/github.com/cerc-io/laconicd # Install dependencies -RUN apk add --no-cache $PACKAGES=~ +RUN apk add --no-cache $PACKAGES -RUN apk add --no-cache linux-headers=~ +RUN apk add --no-cache linux-headers # Add source files COPY . . @@ -21,7 +21,7 @@ RUN make build FROM alpine:3.17.1 # Install ca-certificates -RUN apk add --no-cache ca-certificates=~ jq=~ curl=~ +RUN apk add --no-cache ca-certificates jq curl WORKDIR / # Copy over binaries from the build-env