mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-11-24 22:16:11 +03:00
update lint & build rules
This commit is contained in:
parent
f9122d7eee
commit
4b0b69d1e9
7
.github/workflows/hadolint.yml
vendored
7
.github/workflows/hadolint.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user