summaryrefslogtreecommitdiffstats
path: root/aclk/legacy/tests/paho.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'aclk/legacy/tests/paho.Dockerfile')
-rw-r--r--aclk/legacy/tests/paho.Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/aclk/legacy/tests/paho.Dockerfile b/aclk/legacy/tests/paho.Dockerfile
new file mode 100644
index 00000000..d67cc4cb
--- /dev/null
+++ b/aclk/legacy/tests/paho.Dockerfile
@@ -0,0 +1,14 @@
+FROM archlinux/base:latest
+
+RUN pacman -Syyu --noconfirm
+RUN pacman --noconfirm --needed -S python-pip
+
+RUN pip install paho-mqtt
+
+RUN mkdir -p /opt/paho
+COPY paho-inspection.py /opt/paho/
+
+WORKDIR /opt/paho
+ARG HOST_HOSTNAME
+RUN echo $HOST_HOSTNAME >host
+CMD ["/bin/bash", "-c", "/usr/sbin/python paho-inspection.py $(cat host)"]