Skip to content

Commit

Permalink
Rename lint Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sprat committed Oct 12, 2024
1 parent b16c8b5 commit 7776da9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lint.Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ find . -name Dockerfile -exec hadolint {} +

# =========================================================
FROM koalaman/shellcheck-alpine:v0.10.0 AS shellcheck
SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
WORKDIR /src
RUN --mount=target=. \
shellcheck --version && \
find . -name .git -prune -o -type f -executable -print | xargs -r grep -rlE '^#!/bin/(ba)?sh' | xargs -r shellcheck
find . -name .git -prune -o -type f -executable -print0 | xargs -r0 grep -rlE '^#!/bin/(ba)?sh' | xargs -r shellcheck

# =========================================================
FROM toolhippie/yamllint:1.35.1 AS yamllint
Expand Down
1 change: 0 additions & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ group "default" {
}

target "_lint" {
dockerfile = "lint.Dockerfile"
output = ["type=cacheonly"]
}

Expand Down

0 comments on commit 7776da9

Please # to comment.