feat: LampScore implement dockerfile generation and image building #22

Merged
johnride merged 2 commits from feat/lampDocker into master 2025-04-27 19:56:30 +00:00
Owner
  • Added build_dockerfile function to generate a Dockerfile based on the LAMP stack for the given project.
  • Implemented build_docker_image to execute the docker build command and create the image.
  • Configured user and permissions for apache.
  • Included necessary apache configuration for security.
  • Added error handling for docker build failures.
  • Exposed port 80 for external access.
  • Added basic serialization to Config struct.
- Added `build_dockerfile` function to generate a Dockerfile based on the LAMP stack for the given project. - Implemented `build_docker_image` to execute the docker build command and create the image. - Configured user and permissions for apache. - Included necessary apache configuration for security. - Added error handling for docker build failures. - Exposed port 80 for external access. - Added basic serialization to Config struct.
johnride added 1 commit 2025-04-25 18:36:16 +00:00
- Added `build_dockerfile` function to generate a Dockerfile based on the LAMP stack for the given project.
- Implemented `build_docker_image` to execute the docker build command and create the image.
- Configured user and permissions for apache.
- Included necessary apache configuration for security.
- Added error handling for docker build failures.
- Exposed port 80 for external access.
- Added basic serialization to Config struct.
wjro approved these changes 2025-04-25 20:02:25 +00:00
johnride added 1 commit 2025-04-27 19:55:47 +00:00
Escapes the value of the PHP_ERROR_REPORTING environment variable in the Dockerfile to prevent potential issues with shell interpretation. Uses EnvBuilder for a more structured approach.
johnride merged commit 76c0cacc1b into master 2025-04-27 19:56:30 +00:00
johnride deleted branch feat/lampDocker 2025-04-27 19:56:30 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: NationTech/harmony#22
No description provided.