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 ...@@ -12,3 +12,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint
12 12
13 addgroup hostgroup 13 addgroup hostgroup
14 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser 14 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
15
16 rm -rf /tmp/files
......
...@@ -5,3 +5,5 @@ apt-get update ...@@ -5,3 +5,5 @@ apt-get update
5 apt-get install -y ssmtp nginx libnginx-mod-http-subs-filter $NGINX_EXTRA_PACKAGES 5 apt-get install -y ssmtp nginx libnginx-mod-http-subs-filter $NGINX_EXTRA_PACKAGES
6 rm /etc/nginx/sites-enabled/default 6 rm /etc/nginx/sites-enabled/default
7 cp -a /tmp/files/entrypoint.sh /sbin 7 cp -a /tmp/files/entrypoint.sh /sbin
8
9 rm -rf /tmp/files
......
...@@ -6,3 +6,5 @@ apt-get install -y ssmtp sudo $NODE_EXTRA_PACKAGES ...@@ -6,3 +6,5 @@ apt-get install -y ssmtp sudo $NODE_EXTRA_PACKAGES
6 #npm install -g gulp grunt 6 #npm install -g gulp grunt
7 7
8 cp /tmp/files/entrypoint /root/entrypoint 8 cp /tmp/files/entrypoint /root/entrypoint
9
10 rm -rf /tmp/files
......
...@@ -13,3 +13,5 @@ addgroup hostgroup ...@@ -13,3 +13,5 @@ addgroup hostgroup
13 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser 13 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
14 su - hostuser -c 'git config --global user.email hostuser@php-fpm' 14 su - hostuser -c 'git config --global user.email hostuser@php-fpm'
15 su - hostuser -c 'git config --global user.name "Host User"' 15 su - hostuser -c 'git config --global user.name "Host User"'
16
17 rm -rf /tmp/files
......
...@@ -10,3 +10,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint ...@@ -10,3 +10,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint
10 10
11 addgroup hostgroup 11 addgroup hostgroup
12 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser 12 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
13
14 rm -rf /tmp/files
......
...@@ -20,3 +20,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint ...@@ -20,3 +20,5 @@ cp /tmp/files/entrypoint /sbin/entrypoint
20 20
21 addgroup hostgroup 21 addgroup hostgroup
22 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser 22 adduser --gecos 'Host User' --ingroup hostgroup --disabled-password hostuser
23
24 rm -rf /tmp/files
......