tests pass under app user

This commit is contained in:
Henry Oswald
2018-02-26 11:56:19 +00:00
parent d698cc318f
commit 8f6db5baff
6 changed files with 34 additions and 50 deletions

View File

@@ -1,4 +1,8 @@
/bin/sh
wget -qO- https://get.docker.com/ | sh
apt-get install poppler-utils vim ghostscript --yes
apt-get install poppler-utils ghostscript --yes
npm rebuild
usermod -aG docker app
touch /var/run/docker.sock
chown root:docker /var/run/docker.sock