summaryrefslogtreecommitdiffstats
path: root/docker/init.sh
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-08-26 19:48:02 +0200
committerGitHub <noreply@github.com>2018-08-26 19:48:02 +0200
commit3fc3ea6c6df237dbdf48d14703118b747bf5d647 (patch)
treec333c9422532f198057647ad22a54e2da848112b /docker/init.sh
parentb0b79db354a2bb89009e206b0fa19f810a816cec (diff)
parent0513f59f10eb2b60ecb32cb68f7add19ec623177 (diff)
downloadserial-barcode-scanner-3fc3ea6c6df237dbdf48d14703118b747bf5d647.tar.bz2
Merge pull request #42 from smilix/docker-fixup
updates the docker configuration for the new project layout
Diffstat (limited to 'docker/init.sh')
-rwxr-xr-xdocker/init.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/docker/init.sh b/docker/init.sh
index 15b7741..818fc45 100755
--- a/docker/init.sh
+++ b/docker/init.sh
@@ -1,11 +1,7 @@
#!/bin/bash
-cd dbus
-make install
-cd config
-make install
-
-cd ../..
dbus-daemon --system
-echo "Ready!"
-tmux
+dpkg-buildpackage -b -nc && \
+ apt install -y --no-install-recommends ./../shopsystem_*_amd64.deb && \
+ cp /root/config.ini /etc/shopsystem/config.ini && \
+ tmux