Convert into single docker image, change volume structure etc
Makefile inconsistent!
This commit is contained in:
@@ -8,7 +8,7 @@ function prepareGitAuth(){
|
||||
[ -d $confdir ] || mkdir $confdir
|
||||
[ -d $confdir/ssh ] || mkdir $confdir/ssh
|
||||
|
||||
chmod 0600 $confdir
|
||||
chmod 0700 $confdir
|
||||
|
||||
# git configure http authenticator
|
||||
git config --global credential.helper "store --file=$confdir/git-credentials"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#!/bin/bash
|
||||
# library for work with config file
|
||||
|
||||
# check directories if they exist
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
# configure
|
||||
export BASE=/data
|
||||
export CCLONE_PATH=$BASE/repos
|
||||
export CCLONE_CACHE=$BASE/cache
|
||||
export CONFIG_DIR=$BASE/config
|
||||
|
||||
@@ -35,6 +35,8 @@ fi
|
||||
submodules=${cloner_submodules:-0}
|
||||
depth=${cloner_submodule_depth:-}
|
||||
|
||||
export HOME=$CCLONE_CACHE
|
||||
|
||||
prepareGitAuth $CONFIG_DIR
|
||||
|
||||
# without submodule support
|
||||
|
||||
Reference in New Issue
Block a user