From b8e122056e1fd5131081b608cbac36de547918d9 Mon Sep 17 00:00:00 2001 From: SimpleTest Date: Mon, 20 Jul 2026 21:20:51 +0300 Subject: [PATCH] fix: exclude crash dumps from Docker context --- .dockerignore | 2 ++ scripts/quality.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.dockerignore b/.dockerignore index e0a42b3..fa73c85 100644 --- a/.dockerignore +++ b/.dockerignore @@ -37,6 +37,8 @@ # Generated on crash by the VM erl_crash.dump +core +core.* # Static artifacts - These should be fetched and built inside the Docker image # https://phoenix.hexdocs.pm/Mix.Tasks.Phx.Gen.Release.html#module-docker diff --git a/scripts/quality.sh b/scripts/quality.sh index ef74058..efa6c86 100755 --- a/scripts/quality.sh +++ b/scripts/quality.sh @@ -74,6 +74,10 @@ docker run --rm \ --workdir /repo \ "$ACTIONLINT_IMAGE" +echo "Checking crash dumps are excluded from the Docker build context" +grep -Fx 'core' .dockerignore >/dev/null +grep -Fx 'core.*' .dockerignore >/dev/null + echo "Rendering every Docker Compose profile" docker compose --env-file .env.example -f compose.yaml config --quiet docker compose --env-file .env.example -f compose.yaml config --format json |