Using cyphernodeconf for git container instead of alpinegit

This commit is contained in:
kexkey
2019-04-09 16:03:04 -04:00
committed by kexkey
parent ef5d261ad3
commit 97f06a6db5
2 changed files with 2 additions and 2 deletions

2
dist/setup.sh vendored
View File

@@ -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
}

View File

@@ -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