1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

Install screen with setuid root (see comment)

This commit is contained in:
Michael Stucki 2014-06-23 15:43:51 +02:00
parent 8a73532a7c
commit d14aa4b258

View File

@ -21,6 +21,10 @@ RUN apt-get install -y tig
# If you still have problems with upgrading this image, you most likely use an outdated base image
RUN dpkg-divert --local --rename /usr/bin/ischroot && ln -sf /bin/true /usr/bin/ischroot
# Workaround for screen: /usr/bin/screen cannot be installed with setgid "utmp": https://github.com/stucki/docker-cyanogenmod/issues/2
# Install screen with setuid root instead (that's ok on a single-user system)
RUN chmod u+s /usr/bin/screen
RUN apt-get -qqy upgrade
RUN useradd --create-home cmbuild