j3ssie / osmedeus

A Workflow Engine for Offensive Security
https://osmedeus.org/
MIT License
5.27k stars 873 forks source link

Fixing the Dockerfile #186

Closed krasnova19 closed 3 years ago

krasnova19 commented 3 years ago

Difference between apt-get clean and apt-get autoremove They two commands are not same and have absolutely different functions. Apt-get clean or apt-get autoclean removes the retrieved packages from the local cache only while the apt-get autoremove removes the unneeded packages that were once installed as a dependency.

mablanco commented 3 years ago

As the developer of the Dockerfile, I want to clarify that both commands are needed. autoremove will uninstall unneeded packages while clean will clear the local packages cache. Those two commands reduce the final Docker image size. Therefore, I suggest to reject this PR.