LABEL authors="Benjamín Díaz"
-RUN apt-get --yes update \
- && apt-get --yes install python3 python3-pip libmysqlclient-dev git \
- && pip3 install pip==9.0.3
-
-RUN apt-get update && apt-get -y install curl software-properties-common
-
RUN apt-get --yes update \
&& apt-get --yes install git python python-pip python3 python3-pip libmysqlclient-dev libssl-dev libffi-dev \
+ && apt-get --yes install mysql-client curl software-properties-common \
&& pip3 install pip==9.0.3
ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
ENV OSMPOL_GLOBAL_LOG_LEVEL INFO
+HEALTHCHECK --start-period=120s --interval=10s --timeout=5s --retries=5 \
+ CMD osm-pol-healthcheck || exit 1
+
CMD /bin/bash scripts/start.sh