Skip to content

fix: Remove docker.sock mount from linter container #43

Description

@mark-e-deyoung

Problem

The linter container mounts /var/run/docker.sock into the container, but none of the tools inside the linter (shellcheck, ruff, mypy, hadolint, trivy fs) need Docker access. This is a security risk (exposes host Docker socket to linting processes).

Solution

Remove the -v mount from scripts/lint.sh. The linter only runs filesystem-level scans (trivy fs, shellcheck, ruff, mypy, hadolint) and does not need Docker access.

Files

  • scripts/lint.sh — remove docker.sock volume mount
  • BACKLOG.md — mark Item 9 completed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions