From fb49b120d16878d7c165161d23a559be09abc050 Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Thu, 29 Jan 2015 15:26:46 +0100 Subject: [PATCH] Workaround for modifying users under host kernel > 3.15 Find more at https://github.com/docker/docker/issues/6345 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 00a1ad8..b5763e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:latest MAINTAINER John Fink RUN apt-get update # Fri Oct 24 13:09:23 EDT 2014 RUN apt-get -y upgrade -RUN DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-client mysql-server apache2 libapache2-mod-php5 pwgen python-setuptools vim-tiny php5-mysql php5-ldap +RUN ln -s -f /bin/true /usr/bin/chfn && DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-client mysql-server apache2 libapache2-mod-php5 pwgen python-setuptools vim-tiny php5-mysql php5-ldap RUN easy_install supervisor ADD ./scripts/start.sh /start.sh ADD ./scripts/foreground.sh /etc/apache2/foreground.sh