Commit b684f4ec authored by Matthieu Lamalle's avatar Matthieu Lamalle Committed by Philippe Caseiro
Browse files

Eosfunc

parent 4d283576
......@@ -38,7 +38,7 @@ RUN git clone "${CONTAINERPILOT_REPO_URL}" "/tmp/orchestrate" \
# API messages description
ARG MESSAGES_API_REPO_URL=https://gitlab.mim.ovh/EOLE/Zephir/messages-api.git
ARG MESSAGES_API_REPO_REF=9f534509
ARG MESSAGES_API_REPO_REF=0.0.1-dev
RUN git clone "${MESSAGES_API_REPO_URL}" "/tmp/messages-api" \
&& cd /tmp/messages-api \
......@@ -47,7 +47,7 @@ RUN git clone "${MESSAGES_API_REPO_URL}" "/tmp/messages-api" \
# Common python Zéphir library
ARG PYTHON_ZEPHIR_REPO_URL=https://gitlab.mim.ovh/EOLE/Zephir/python-zephir.git
ARG PYTHON_ZEPHIR_REPO_REF=bc098b33494c7ef7ae010e130bb773507e196b72
ARG PYTHON_ZEPHIR_REPO_REF=0.0.1-dev
RUN git clone "${PYTHON_ZEPHIR_REPO_URL}" "/tmp/python-zephir" \
&& cd /tmp/python-zephir \
......@@ -60,7 +60,7 @@ RUN git clone "${PYTHON_ZEPHIR_REPO_URL}" "/tmp/python-zephir" \
# EOLE data models
ARG EOLE_DATA_MODEL_URL=https://gitlab.mim.ovh/EOLE/Zephir/data-model-eole.git
ARG EOLE_DATA_MODEL_REF=666f157a
ARG EOLE_DATA_MODEL_REF=0.0.1-dev
RUN git clone "${EOLE_DATA_MODEL_URL}" "/tmp/data-model-eole" \
&& cd /tmp/data-model-eole \
......@@ -145,11 +145,11 @@ RUN apt-get update -y && apt-get install -y \
# Controller
RUN mkdir -p /srv/bin
COPY scripts/notifier /srv/bin
COPY scripts/* /srv/bin/
RUN chmod +x /srv/bin/*
# Install EOLE data models
COPY --from=build /tmp/data-model-eole/seed /data/seed
# Calcul du hash des fichiers pour que les services puissent vérifier leur état
RUN cd /data && find seed -type f -exec sha256sum {} \; > SHA256SUMS && sha256sum SHA256SUMS > SHA256SUM
RUN /srv/bin/regen_shasum
#!/bin/bash
cd /data
find seed -type f -exec sha256sum {} \; > SHA256SUMS
sha256sum SHA256SUMS > SHA256SUM
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment