PTU5KAS/docker-entrypoint
Daniel Wagner daf0abab5e Initial public release
This is the first public release of kas.

Signed-off-by: Daniel Wagner <daniel.wagner@siemens.com>
2017-06-14 15:21:19 +02:00

12 lines
223 B
Bash
Executable File

#!/bin/bash
USER_ID=${USERID:-30000}
# Create a non-root user that will perform the actual build
id build 2>/dev/null || \
useradd --uid $USER_ID --create-home --home-dir /build build
cd /build
exec gosu build "$@"