Updates to production container builds for new repository

This commit is contained in:
Matthew Jones
2017-08-03 10:39:04 -04:00
parent 6bf7d850f4
commit af3652bb2f
9 changed files with 58 additions and 70 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
if [ `id -u` -ge 10000 ]; then
echo "awx:x:`id -u`:`id -g`:,,,:/var/lib/awx:/bin/bash" >> /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
fi
awx-manage collectstatic --noinput --clear
supervisord -c /supervisor.conf