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/s6/gogs | |
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/s6/gogs')
-rwxr-xr-x | docker/s6/gogs/run | 8 | ||||
-rwxr-xr-x | docker/s6/gogs/setup | 23 |
2 files changed, 0 insertions, 31 deletions
diff --git a/docker/s6/gogs/run b/docker/s6/gogs/run deleted file mode 100755 index 1aa70eb41d..0000000000 --- a/docker/s6/gogs/run +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if test -f ./setup; then - source ./setup -fi - -export USER=git -exec gosu $USER /app/gogs/gogs web diff --git a/docker/s6/gogs/setup b/docker/s6/gogs/setup deleted file mode 100755 index 8435e25b6b..0000000000 --- a/docker/s6/gogs/setup +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -if ! test -d ~git/.ssh; then - mkdir -p ~git/.ssh - chmod 700 ~git/.ssh -fi - -if ! test -f ~git/.ssh/environment; then - echo "GITEA_CUSTOM=${GITEA_CUSTOM}" > ~git/.ssh/environment - chmod 600 ~git/.ssh/environment -fi - -cd /app/gogs - -# Link volumed data with app data -ln -sf /data/gogs/log ./log -ln -sf /data/gogs/data ./data - -# Backward Compatibility with Gogs Container v0.6.15 -ln -sf /data/git /home/git - -chown -R git:git /data /app/gogs ~git/ -chmod 0755 /data /data/gogs ~git/ |