Fix wrong xmltodict installation in latest nginx
[anna.git] / docker-images / anna-adml-http / Dockerfile
index 9a3a7a7..2e395c9 100644 (file)
@@ -7,10 +7,9 @@ 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
+   python3-xmltodict
 
 COPY starter.sh /var/starter.sh
 
@@ -18,6 +17,12 @@ EXPOSE 8074
 WORKDIR /opt/adml
 
 #ENV TZ=Europe/Madrid
+ENV LD_LIBRARY_PATH=/opt/adml/dynlibs
+
+# Simplify docker image UX:
+RUN rm args.* operation.sh start.sh stop.sh
+RUN mv *.md utils
 
 ENTRYPOINT ["sh", "/var/starter.sh"]
 CMD []
+