Merge pull request #25114 from aaronlevy/hyperkube-pkg-upgrade

Upgrade installed packages when building hyperkube to improve the security profile
This commit is contained in:
Robert Bailey 2016-05-06 15:03:52 -07:00
commit c9442ee47c

View File

@ -28,6 +28,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update -y \
socat \
curl \
git \
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get autoremove -y \
&& DEBIAN_FRONTEND=noninteractive apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*