From 7776da978715668c6a30bc6de1d2e81644ce4dbc Mon Sep 17 00:00:00 2001 From: Sylvain Prat Date: Sat, 12 Oct 2024 20:20:37 +0200 Subject: [PATCH] Rename lint Dockerfile --- lint.Dockerfile => Dockerfile | 3 ++- docker-bake.hcl | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) rename lint.Dockerfile => Dockerfile (76%) diff --git a/lint.Dockerfile b/Dockerfile similarity index 76% rename from lint.Dockerfile rename to Dockerfile index 6747d0e..ce79588 100644 --- a/lint.Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-bake.hcl b/docker-bake.hcl index 765f082..e9aa859 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -3,7 +3,6 @@ group "default" { } target "_lint" { - dockerfile = "lint.Dockerfile" output = ["type=cacheonly"] }