From 97f06a6db5f9b7bb48e5c5c1aa79f3cc276f09c1 Mon Sep 17 00:00:00 2001 From: kexkey Date: Tue, 9 Apr 2019 16:03:04 -0400 Subject: [PATCH] Using cyphernodeconf for git container instead of alpinegit --- dist/setup.sh | 2 +- install/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup.sh b/dist/setup.sh index c7f677b..85a3491 100755 --- a/dist/setup.sh +++ b/dist/setup.sh @@ -688,7 +688,7 @@ install_apps() { if [ ! -d "$current_path/apps" ]; then local apps_repo="https://github.com/SatoshiPortal/cypherapps.git" echo " clone $apps_repo into apps" - docker run --rm -v "$current_path":/git alpine/git clone "$apps_repo" apps > /dev/null 2>&1 + docker run --rm -v "$current_path":/git --entrypoint git cyphernode/cyphernodeconf:$CONF_VERSION clone "$apps_repo" /git/apps > /dev/null 2>&1 fi } diff --git a/install/Dockerfile b/install/Dockerfile index dd55465..34b9138 100644 --- a/install/Dockerfile +++ b/install/Dockerfile @@ -1,6 +1,6 @@ FROM node:11.1-alpine -RUN apk add --update bash su-exec p7zip openssl nano apache2-utils && rm -rf /var/cache/apk/* +RUN apk add --update bash su-exec p7zip openssl nano apache2-utils git && rm -rf /var/cache/apk/* RUN mkdir -p /app RUN mkdir /.config RUN chmod a+rwx /.config