summaryrefslogtreecommitdiff
path: root/run/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'run/Dockerfile')
-rw-r--r--run/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/run/Dockerfile b/run/Dockerfile
new file mode 100644
index 0000000..f8b98aa
--- /dev/null
+++ b/run/Dockerfile
@@ -0,0 +1,23 @@
+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 \
+ lshw \
+ && rm -rf /var/lib/apt/lists/* \
+ && mkdir /var/sota
+
+COPY sota_client /usr/bin/
+COPY sota.toml.template /etc/
+COPY sota_certificates /etc/
+COPY run.sh /usr/bin/
+COPY system_info.sh /usr/bin/
+
+EXPOSE 8888 9080
+CMD ["/usr/bin/run.sh"]