Pattern: Missing --no-install-recommends
for RUN apt-get
Issue: -
Avoid installing additional packages that you did not explicitly want.
Example of incorrect code:
FROM busybox
RUN apt-get install -y python=2.7
Example of correct code:
FROM busybox
RUN apt-get install -y --no-install-recommends python=2.7