774b7e1c by Adam Heath

Remove /tmp/files when we are done building.

1 parent 37177c64
......@@ -12,3 +12,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint
addgroup hostgroup
adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
rm -rf /tmp/files
......
......@@ -5,3 +5,5 @@ apt-get update
apt-get install -y ssmtp nginx libnginx-mod-http-subs-filter $NGINX_EXTRA_PACKAGES
rm /etc/nginx/sites-enabled/default
cp -a /tmp/files/entrypoint.sh /sbin
rm -rf /tmp/files
......
......@@ -6,3 +6,5 @@ apt-get install -y ssmtp sudo $NODE_EXTRA_PACKAGES
#npm install -g gulp grunt
cp /tmp/files/entrypoint /root/entrypoint
rm -rf /tmp/files
......
......@@ -13,3 +13,5 @@ addgroup hostgroup
adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
su - hostuser -c 'git config --global user.email hostuser@php-fpm'
su - hostuser -c 'git config --global user.name "Host User"'
rm -rf /tmp/files
......
......@@ -10,3 +10,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint
addgroup hostgroup
adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
rm -rf /tmp/files
......
......@@ -20,3 +20,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint
addgroup hostgroup
adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
rm -rf /tmp/files
......