From 9cba6ff84b703f1b8b69dc58caefb377cd835936 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Roemer Date: Mon, 12 Oct 2015 16:39:40 +0100 Subject: Volumed data setup changed to allow #1759 - Volumed subfolder now created up in the ENTRYPOINT script, this way they are created before S6 even starts making VOLUME. - The subfolder will be created during VOLUME creation too as ENTRYPOINT script will be run before /bin/true - SSH Keys will now be created on a single key basis not replying on the existence of /data/ssh folder --- docker/s6/gogs/setup | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'docker/s6/gogs') diff --git a/docker/s6/gogs/setup b/docker/s6/gogs/setup index 6270d551..8c09ff74 100755 --- a/docker/s6/gogs/setup +++ b/docker/s6/gogs/setup @@ -1,11 +1,7 @@ #!/bin/sh -if ! test -d /data/gogs; then - mkdir -p /data/gogs/data /data/gogs/conf /data/gogs/log /data/git -fi - if ! test -d ~git/.ssh; then - mkdir ~git/.ssh + mkdir -p ~git/.ssh chmod 700 ~git/.ssh fi -- cgit v1.2.3