6 ms·
Adding these commands to a separate script seems like an unnecessary level of abstraction. Concatenating the commands with &&, adding "--no-install-recommends"
by amdavidson 7y 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.