Add utilities to adml-http image
[anna.git] / docker-images / anna-adml-http / Dockerfile
index 685279f..9a3a7a7 100644 (file)
@@ -2,12 +2,22 @@ FROM nginx
 COPY etc/ /etc
 COPY opt/adml/ /opt/adml
 
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y tshark
+
 RUN apt-get update && apt-get install -y \
-   procps
+   net-tools \
+   procps \
+   python3 \
+   python3-pip
+
+RUN pip3 install xmltodict
 
 COPY starter.sh /var/starter.sh
 
 EXPOSE 8074
 WORKDIR /opt/adml
 
-CMD ["sh", "/var/starter.sh"]
+#ENV TZ=Europe/Madrid
+
+ENTRYPOINT ["sh", "/var/starter.sh"]
+CMD []