Add more utilities for ADML-HTTP image
[anna.git] / docker-images / anna-adml-http / Dockerfile
index fb75eb6..c155c3e 100644 (file)
@@ -2,6 +2,23 @@ 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 \
+   net-tools \
+   procps \
+   jq \
+   python3 \
+   python3-pip
+
+RUN pip3 install xmltodict
+
 COPY starter.sh /var/starter.sh
 
-CMD ["sh", "/var/starter.sh"]
+EXPOSE 8074
+WORKDIR /opt/adml
+
+#ENV TZ=Europe/Madrid
+
+ENTRYPOINT ["sh", "/var/starter.sh"]
+CMD []