ita-social-projects / SpaceToStudy-Client

MIT License
24 stars 16 forks source link

(SP: 0.5) Sort the arguments in long RUN instructions #2852

Closed Made1ra closed 5 days ago

Made1ra commented 1 week ago

In Dockerfiles, when commands within a RUN instruction have a lot of arguments, especially those that install system packages, it is important to ensure that the arguments are sorted alphabetically. This practice enhances the readability and maintainability of the code. It allows for easier tracking of modifications and can help prevent potential errors.

You can see a detailed description of the issue by the link.

Screenshot 2024-11-23 at 11 19 01
qwqw-333 commented 5 days ago

We will rewrite dockerfile soon, because using ssh in container - isn't a good solution.

Made1ra commented 5 days ago

Okay, then I will close the issue.