Skip to content

Rename Docker-branded filenames to OCI-neutral names#25

Merged
csengor merged 2 commits into
kaplanPRO:0.6.x-devfrom
csengor:chore/rename-dockerfile-to-containerfile
May 17, 2026
Merged

Rename Docker-branded filenames to OCI-neutral names#25
csengor merged 2 commits into
kaplanPRO:0.6.x-devfrom
csengor:chore/rename-dockerfile-to-containerfile

Conversation

@csengor
Copy link
Copy Markdown
Member

@csengor csengor commented May 17, 2026

Summary

  • Rename DockerfileContainerfile so the build recipe uses the OCI-aligned name. Podman/Buildah pick it up natively, and modern Docker BuildKit auto-detects it; users on older Docker clients can still build with docker build -f Containerfile ..
  • Rename docker-entrypoint.shcontainer-entrypoint.sh to match. The filename is purely cosmetic — no container runtime looks for it by name — so this is consistency cleanup, not a behavior change.
  • Update the matching entry in .dockerignore (DockerfileContainerfile).
  • .dockerignore itself is left named as-is — Docker does not read .containerignore, so renaming the ignore file would silently break Docker builds.

Test plan

  • podman build -t kaplan-cloud:test . succeeds against the renamed Containerfile
  • docker build -t kaplan-cloud:test . succeeds on a recent Docker/BuildKit (auto-detects Containerfile)
  • docker build -t kaplan-cloud:test -f Containerfile . succeeds on older Docker clients
  • Resulting image starts and runs container-entrypoint.sh (collectstatic + migrate + serve)
  • Confirm Containerfile is excluded from the build context (no self-COPY of the recipe into the image)

🤖 Generated with Claude Code

csengor and others added 2 commits May 17, 2026 15:36
Containerfile is the OCI-aligned name and is recognized natively by
Podman/Buildah and by modern Docker BuildKit. Docker users on older
clients can still build with `-f Containerfile`. .dockerignore keeps
its name since Docker does not read .containerignore.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Matches the Containerfile rename. The filename is purely cosmetic —
no container runtime looks for it by name — so this is consistency
cleanup rather than a behavior change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@csengor csengor changed the title Rename Dockerfile to Containerfile Rename Docker-branded filenames to OCI-neutral names May 17, 2026
@csengor csengor merged commit b0d81c7 into kaplanPRO:0.6.x-dev May 17, 2026
2 checks passed
@csengor csengor deleted the chore/rename-dockerfile-to-containerfile branch May 17, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant