Hacker News new | ask | show | jobs
by amdavidson 2377 days ago
Adding these commands to a separate script seems like an unnecessary level of abstraction.

Concatenating the commands with &&, adding "--no-install-recommends", and adding " && apt-get clean && rm -rf /var/lib/apt/lists/*" to the Dockerfile seems much more straightforward and maintainable.