summaryrefslogtreecommitdiff
path: root/run/Dockerfile
diff options
context:
space:
mode:
authorShaun Taheri <shaun@advancedtelematic.com>2016-07-20 17:11:14 +0200
committerShaun Taheri <shaun@advancedtelematic.com>2016-08-03 10:58:27 +0200
commit0cdf7bae7c08f08feb4f0eaf6f77dd9aa720ccdb (patch)
treeda78367c0ee7e53f5e3e1e969a3e6554647d9131 /run/Dockerfile
parenta0ec7ef38c9806e015d4a2ce5b5db5a95493fc51 (diff)
downloadrvi_sota_client-0cdf7bae7c08f08feb4f0eaf6f77dd9aa720ccdb.tar.gz
Re-enable RVI through DBus gateway
Diffstat (limited to 'run/Dockerfile')
-rw-r--r--run/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/run/Dockerfile b/run/Dockerfile
new file mode 100644
index 0000000..1a0c274
--- /dev/null
+++ b/run/Dockerfile
@@ -0,0 +1,20 @@
+FROM debian:8
+
+RUN apt-get update && apt-get install -y \
+ dbus \
+ dbus-x11 \
+ gettext \
+ httpie \
+ jq \
+ libdbus-1-3 \
+ libdbus-glib-1-2 \
+ openssl \
+ && rm -rf /var/lib/apt/lists/* \
+ && mkdir /var/sota
+
+COPY sota_client /usr/bin/
+COPY sota.toml.template /etc/
+COPY run.sh /usr/bin/
+
+EXPOSE 8888 9080
+CMD ["/usr/bin/run.sh"]