summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorHolger Cremer <HolgerCremer@gmail.com>2018-08-26 19:34:41 +0200
committerHolger Cremer <HolgerCremer@gmail.com>2018-08-26 19:34:41 +0200
commit0513f59f10eb2b60ecb32cb68f7add19ec623177 (patch)
treec333c9422532f198057647ad22a54e2da848112b /docker/Dockerfile
parentb0b79db354a2bb89009e206b0fa19f810a816cec (diff)
downloadserial-barcode-scanner-0513f59f10eb2b60ecb32cb68f7add19ec623177.tar.bz2
updates the docker configuration for the new project layout
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile18
1 files changed, 13 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5aebc26..53a9048 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -26,7 +26,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libgtk2.0-dev \
libsoup2.4-dev \
libgee-0.8-dev \
+ debhelper \
+ dh-sysuser \
+ libgmime-3.0-dev \
+ udev \
tmux \
+ # neeed for apt install shopsystem
+ systemd console-setup console-setup-linux dbconfig-common dbconfig-sqlite3 gstreamer1.0-alsa gstreamer1.0-plugins-base iso-codes kbd keyboard-configuration libasound2 libasound2-data libcdparanoia0 \
+ libgstreamer-plugins-base1.0-0 libjs-bootstrap libjs-c3 libjs-d3 libjs-jquery libjs-jquery-datatables libjs-jquery-flot libjs-jquery-mousewheel liblocale-gettext-perl libogg0 libopus0 liborc-0.4-0 \
+ libpam-systemd libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libtheora0 libvisual-0.4-0 libvorbis0a libvorbisenc2 policykit-1 systemd-sysv sysuser-helper xkb-data \
&& rm -rf /var/lib/apt/lists/*
RUN set -ex && \
@@ -35,9 +43,9 @@ RUN set -ex && \
ENV SBC_DIR /mnt/serial-barcode-scanner
WORKDIR $SBC_DIR
-ADD . .
-RUN dpkg-buildpackage -b && apt install -y ./../shopsystem_*_*.deb
-#COPY tmux-config /root/.tmux.conf
-#COPY init.sh /root/
-#ENTRYPOINT ["/root/init.sh"]
+COPY tmux-config /root/.tmux.conf
+COPY init.sh /root/
+COPY config.ini /root/
+
+ENTRYPOINT ["/root/init.sh"]