Remove device nodes from Docker images. (LP: #1645468)

ubuntu/cosmic
Michael Hudson-Doyle 7 years ago
parent c7bf282875
commit 013dff431e

3
debian/changelog vendored

@ -11,6 +11,9 @@ livecd-rootfs (2.533) UNRELEASED; urgency=medium
* Update unminimize script text and install ubuntu-standard when
unminimizing a minimal image (LP: #1778777)
[ Michael Hudson-Doyle ]
* Remove device nodes from Docker images. (LP: #1645468)
-- Robert C Jennings <robert.jennings@canonical.com> Fri, 08 Jun 2018 10:10:53 -0700
livecd-rootfs (2.532) cosmic; urgency=medium

@ -266,6 +266,9 @@ EOF
# Save even more size by removing apt lists (that are currently removed
# downstream anyway)
rm -rf chroot/var/lib/apt/lists/*
# Having device notes in the docker image can cause problems:
# https://github.com/tianon/docker-brew-ubuntu-core/issues/62
rm -rf chroot/dev/*
fi
if [ -f config/oem-config-preinstalled ]; then

Loading…
Cancel
Save