diff options
author | Thomas Boerger <tboerger@suse.de> | 2016-11-28 14:13:18 +0100 |
---|---|---|
committer | Thomas Boerger <tboerger@suse.de> | 2016-11-28 14:13:18 +0100 |
commit | 86aa8e413acc1dbcc7760cb220a6ee2126e926b6 (patch) | |
tree | 9ed7aef2aa3c3306fdcb359d557e211c5f65f111 /docker/usr | |
parent | bf8d90c5cc6bea9ec4eeb2e827d10cd247043fe0 (diff) | |
download | gitea-86aa8e413acc1dbcc7760cb220a6ee2126e926b6.tar.gz gitea-86aa8e413acc1dbcc7760cb220a6ee2126e926b6.zip |
Restructured docker building
I have restructured the docker build process entirely, the binary gets
built outside of the docker build command, now we are managing all
dependencies with real Alpine packages and I have dropped features like
socat or the cron daemon.
Signed-off-by: Thomas Boerger <tboerger@suse.de>
Diffstat (limited to 'docker/usr')
-rwxr-xr-x | docker/usr/bin/entrypoint | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/usr/bin/entrypoint b/docker/usr/bin/entrypoint new file mode 100755 index 0000000000..a450d20607 --- /dev/null +++ b/docker/usr/bin/entrypoint @@ -0,0 +1,11 @@ +#!/bin/sh + +for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do + mkdir -p ${FOLDER} +done + +if [ $# -gt 0 ]; then + exec "$@" +else + exec /bin/s6-svscan /etc/s6 +fi |