diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21da237a3..ddd330dd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,11 @@ jobs: - name: Run lint run: npm run lint + - name: Lint Dockerfile + uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: Dockerfile + - name: Check formatting run: npm run format:check diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 000000000..53eb9a72b --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,8 @@ +# Hadolint configuration for MiniSearch +# Suppress rules that are not applicable to our Dockerfile + +ignored: + - DL3064 + - DL3008 + - SC2046 + - DL3025