Fix path to Sahana Dockerfile for Sahana-Demo and SAMBRO

This commit is contained in:
Disassembler 2018-07-12 22:19:10 +02:00
parent 435730095c
commit 7db69ccf13
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
service postgres start
# Build Docker container
docker build -t sahana ${SOURCE_DIR}
docker build -t sahana $(realpath $(dirname "${0}"))/sahana
envsubst <${SOURCE_DIR}/etc/init.d/sahana-demo >/etc/init.d/sahana-demo
chmod +x /etc/init.d/sahana-demo

View File

@ -8,7 +8,7 @@ docker image ls | grep -q postgres || $(realpath $(dirname "${0}"))/postgres.sh
service postgres start
# Build Docker container
docker build -t sahana ${SOURCE_DIR}
docker build -t sahana $(realpath $(dirname "${0}"))/sahana
cp ${SOURCE_DIR}/etc/init.d/sambro /etc/init.d/sambro
rc-update -u