Skip to content

Flatten .docker Dockerfile structure and modernize Compose config#103

Merged
antonkomarev merged 4 commits into
masterfrom
copilot/move-nested-docker-files
Feb 28, 2026
Merged

Flatten .docker Dockerfile structure and modernize Compose config#103
antonkomarev merged 4 commits into
masterfrom
copilot/move-nested-docker-files

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 28, 2026

Dockerfiles were unnecessarily nested under .docker/php/php8X/Dockerfile. Flattens to .docker/php8X.Dockerfile and modernizes the Docker Compose configuration.

Changes

  • Renamed Dockerfiles:
    • .docker/php/php81/Dockerfile.docker/php81.Dockerfile
    • .docker/php/php82/Dockerfile.docker/php82.Dockerfile
    • .docker/php/php83/Dockerfile.docker/php83.Dockerfile
    • .docker/php/php84/Dockerfile.docker/php84.Dockerfile
  • Added .docker/php85.Dockerfile for PHP 8.5
  • Renamed docker-compose.yamlcompose.yml (modern Docker Compose convention)
  • Dropped the obsolete version field from compose.yml
  • Updated dockerfile references in compose.yml to match new Dockerfile paths
  • Added php85 service to compose.yml
  • Removed empty .docker/php/ directory tree
Original prompt

move .docker nested files like .docker/php81.Dockerfile


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: antonkomarev <1849174+antonkomarev@users.noreply.github.com>
Copilot AI changed the title [WIP] Move nested Docker files to root directory Flatten .docker Dockerfile structure Feb 28, 2026
@antonkomarev
Copy link
Copy Markdown
Member

@copilot Rename docker-compose.yaml to compose.yml and drop version in it

Co-authored-by: antonkomarev <1849174+antonkomarev@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 28, 2026

@copilot Rename docker-compose.yaml to compose.yml and drop version in it

Done in 4a76e61 — renamed docker-compose.yaml to compose.yml and removed the version field.

Copilot AI changed the title Flatten .docker Dockerfile structure Flatten .docker Dockerfile structure and modernize Compose config Feb 28, 2026
@antonkomarev
Copy link
Copy Markdown
Member

@copilot add php85 container

Co-authored-by: antonkomarev <1849174+antonkomarev@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 28, 2026

@copilot add php85 container

Done in 2006289 — added .docker/php85.Dockerfile (based on php:8.5-cli-alpine) and the php85 service to compose.yml.

@antonkomarev antonkomarev marked this pull request as ready for review February 28, 2026 18:58
@antonkomarev antonkomarev merged commit 5faebe3 into master Feb 28, 2026
3 checks passed
@antonkomarev antonkomarev deleted the copilot/move-nested-docker-files branch February 28, 2026 18:58
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.

2 participants