Skip to content

Conversation

@Didayolo
Copy link
Member

@Didayolo Didayolo commented Jun 15, 2023

The python-setuptools package provides easy_install, which is a deprecated Python package manager that was heavily used before pip came along. Since we're using pip in your Dockerfile, you actually don't need to install python-setuptools.

Also, it's good practice to clean up the apt cache by adding rm -rf /var/lib/apt/lists/* at the end of the apt-get install line. This reduces the size of the Docker image.

Lastly, -y is prefered to -yywhich is deprecated and considered a security risk.

@Didayolo Didayolo mentioned this pull request Jun 15, 2023
@Didayolo Didayolo merged commit 335303f into develop Jun 15, 2023
@Didayolo Didayolo deleted the remove-setuptools branch June 15, 2023 11:37
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