Repository navigation
Closed
Description
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:
COPY core/gui/package.json core/gui/yarn.lock ./andCOPY core/gui .—core/gui/was relocated tofrontend/in chore: relocate core/gui to frontend #3851 (chore: relocate core/gui to frontend).COPY core/ .—core/was renamed tocommon/in chore: renamecoretocommon#3882 (chore: rename core to common).RUN pip3 install -r requirements.txtandRUN pip3 install -r operator-requirements.txt— these files now live underamber/.FROM node:18-alpine— the active frontend builder isnode:24-bookworminbin/texera-web-application.dockerfile(post chore(deps): upgrade frontend Node engine to 24 #4658).
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.ymlbuilds images by globbingbin/*.dockerfileonly.bin/build-images.shandbin/merge-image-tags.shlikewise iterate*.dockerfilefrombin/.bin/README.mddocumentsbin/*.dockerfileas the supported pattern (e.g.docker build -f bin/texera-web-application.dockerfile -t ... .).- The two
docker-compose.ymlfiles (bin/single-node/,sql/) consume pre-built images and do not declarebuild:for the rootDockerfile.
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
Metadata
Metadata
Assignees
Labels
No labels
Activity
chore: remove stale root Dockerfile (#4662)
chore: remove stale root Dockerfile (#4662)
chore: remove stale root Dockerfile (apache#4662)