Try to get more times
This commit is contained in:
25
entrypoint.sh
Executable file → Normal file
25
entrypoint.sh
Executable file → Normal file
@@ -1,25 +1,6 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
date
|
||||
echo "Changing permissions of /var/run/docker.sock for sibling containers"
|
||||
ls -al /var/run/docker.sock
|
||||
docker --version
|
||||
cat /etc/passwd
|
||||
set -o pipefail
|
||||
|
||||
DOCKER_GROUP=$(stat -c '%g' /var/run/docker.sock)
|
||||
groupadd --non-unique --gid ${DOCKER_GROUP} dockeronhost
|
||||
usermod -aG dockeronhost node
|
||||
inner-entrypoint.sh "$@" | ts
|
||||
|
||||
mkdir -p /app/cache
|
||||
chown -R node:node /app/cache
|
||||
|
||||
mkdir -p /app/compiles
|
||||
chown -R node:node /app/compiles
|
||||
|
||||
chown -R node:node /app/bin/synctex
|
||||
mkdir -p /app/test/acceptance/fixtures/tmp/
|
||||
chown -R node:node /app
|
||||
|
||||
chown -R node:node /app/bin
|
||||
|
||||
exec runuser -u node -- "$@"
|
||||
|
||||
Reference in New Issue
Block a user