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