This pull request introduces improvements to enhance the security and follow best practices when running Docker containers for the OBA server and the transit data bundler.
Changes Made:
oba/Dockerfile:
Create a non-root user ('oba') for improved security.
Switch to the non-root user for subsequent Dockerfile steps.
Refactor the Dockerfile to align with Docker best practices.
bundler/Dockerfile:
Create a non-root user ('oba') for enhanced security.
Switch to the non-root user for the remaining Dockerfile steps.
Adjust the Dockerfile according to best practices.
Context:
The changes aim to minimize the potential security risks associated with running containers as the root user. Following best practices, we've created a dedicated non-root user for the containers, reducing the attack surface and enhancing the overall security posture.
Please review and merge these changes to ensure a more secure and reliable deployment of the OBA server and the transit data bundler containers.
This pull request introduces improvements to enhance the security and follow best practices when running Docker containers for the OBA server and the transit data bundler.
Changes Made:
oba/Dockerfile:
bundler/Dockerfile:
Context:
The changes aim to minimize the potential security risks associated with running containers as the root user. Following best practices, we've created a dedicated non-root user for the containers, reducing the attack surface and enhancing the overall security posture.
Please review and merge these changes to ensure a more secure and reliable deployment of the OBA server and the transit data bundler containers.
Thank you!