phpdocker-io / phpdocker.io

PHPDocker.io website and environment (php and docker based) generator

Home Page:http://phpdocker.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove whitespace before backslash in Dockerfile apt-get Install Command

ValentinNikolaev opened this issue · comments

In our Dockerfile, there is a minor formatting issue where a whitespace character is present before the backslash () in the apt-get install command sequence. This whitespace could potentially cause issues with Docker parsing the command correctly, and while it might not always lead to errors, it's best practice to ensure that our Dockerfile syntax is as clean and correct as possible.

Impact:

This is a super minor formatting issue, but adhering to best practices helps prevent potential parsing issues and keeps the codebase clean and consistent.

Suggested Fix:

Remove the whitespace characters before each backslash () in the apt-get install command sequence within the Dockerfile.

Additional Notes:

This fix is straightforward and should not affect the functionality of the Docker build process, but it's important for maintaining code quality and standards.

image

Thanks for the report.

You actually mean a whitespace after the backslash, not before?