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 []
+
echo ${AD} | ${REPO_DIR}/example/diameter/launcher/deploy-adml-http.sh ${VARIANT} || exit 1
# Add interesting stuff:
-cp -r ${REPO_DIR}/example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper ${AD}
-cp ${REPO_DIR}/example/diameter/pcapDecoder/tsharkDecoder.sh ${AD}
-cp ${REPO_DIR}/example/diameter/launcher/resources/scripts/decode.sh ${AD}
+mkdir ${AD}/utils
+cp -r ${REPO_DIR}/example/diameter/launcher/resources/rest_api/helpers/diameterJsonHelper ${AD}/utils
+cp ${REPO_DIR}/example/diameter/pcapDecoder/tsharkDecoder.sh ${AD}/utils
+cp ${REPO_DIR}/example/diameter/launcher/resources/scripts/decode.sh ${AD}/utils
echo
echo "Generate docker image ..."