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 |