From 4b0b69d1e9ad909e1fd4bce264a8f0b9f6215d92 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 26 Jul 2022 18:12:25 +0300 Subject: [PATCH] update lint & build rules --- .github/workflows/hadolint.yml | 7 ++++--- 1.18-3.13/Dockerfile | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml index a211f6a..aa5fe09 100644 --- a/.github/workflows/hadolint.yml +++ b/.github/workflows/hadolint.yml @@ -7,7 +7,8 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v3 - - run: | - brew install hadolint + - run: brew install hadolint + - name: Lint Dockerfiles + run: | hadolint {1.16,1.16-3.13,1.17,1.17-3.13,1.18}/Dockerfile - hadolint --ignore=DL3059 --ignore=SC2155 1.18-3.13/Dockerfile + hadolint --ignore=DL3047 --ignore=DL3059 --ignore=SC2155 1.18-3.13/Dockerfile diff --git a/1.18-3.13/Dockerfile b/1.18-3.13/Dockerfile index 22590d9..180d57d 100644 --- a/1.18-3.13/Dockerfile +++ b/1.18-3.13/Dockerfile @@ -48,8 +48,8 @@ RUN set -eux; \ # the precompiled binaries published by Go upstream are not compatible with Alpine, so we always build from source here 😅 fi; \ \ - wget --progress=dot -O go.tgz.asc "$url.asc"; \ - wget --progress=dot -O go.tgz "$url"; \ + wget -O go.tgz.asc "$url.asc"; \ + wget -O go.tgz "$url"; \ echo "$sha256 *go.tgz" | sha256sum -c -; \ \ # https://github.com/golang/go/issues/14739#issuecomment-324767697