Skip to content

Remove stale root Dockerfile #4661

Closed

Description

@aglinxinyuan

Task Summary

The root Dockerfile is dead code and should be removed. It still references paths that were renamed or relocated months ago, nothing in the build system points at it, and the active image-building path is bin/*.dockerfile.

Why it is broken on its own terms. The file contains:

The last touch was #3877 (chore: rename core/scripts to bin, Oct 2025), which only fixed one path inside this file and left the rest pointing at directories that no longer exist. docker build . against this file fails immediately.

Why nothing uses it.

  • .github/workflows/build-and-push-images.yml builds images by globbing bin/*.dockerfile only.
  • bin/build-images.sh and bin/merge-image-tags.sh likewise iterate *.dockerfile from bin/.
  • bin/README.md documents bin/*.dockerfile as the supported pattern (e.g. docker build -f bin/texera-web-application.dockerfile -t ... .).
  • The two docker-compose.yml files (bin/single-node/, sql/) consume pre-built images and do not declare build: for the root Dockerfile.

Proposed change. Delete the root Dockerfile. Keep .dockerignore — it still applies as a build-context filter for the active bin/*.dockerfile builds run from the project root.

Priority

P3 – Low

Task Type

  • Code Implementation
  • Documentation
  • Refactor / Cleanup
  • Testing / QA
  • DevOps / Deployment

Activity

  1. added a commit that references this issue on May 5, 2026
    d837578
  2. added a commit that references this issue on May 5, 2026
    eb95855
  3. added a commit that references this issue on Jun 22, 2026
    732aa86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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