From 411002455efefd147689e34808ec40c1c46f40b6 Mon Sep 17 00:00:00 2001 From: Abdoulbari Zakir Date: Thu, 5 Dec 2024 15:58:55 +0100 Subject: [PATCH] update --- docker/centos7-build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/centos7-build b/docker/centos7-build index b8570767e..f739d6245 100644 --- a/docker/centos7-build +++ b/docker/centos7-build @@ -25,7 +25,7 @@ RUN cd /workspace && \ -RUN ORTOOLS_TAG=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '.or-tools-rte' ) && \ +RUN ORTOOLS_TAG=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '."or-tools-rte"' ) && \ echo "ORTOOLS_TAG=$ORTOOLS_TAG" && \ URL_ORTOOLS=https://github.com/rte-france/or-tools-rte/releases/download/$ORTOOLS_TAG/ortools_cxx_centos7_static_sirius.zip && \ mkdir -p ortools && cd ortools && \ @@ -33,7 +33,7 @@ RUN ORTOOLS_TAG=$(cat /workspace/antares-xpansion/antares-version.json | jq -r ' unzip -q ortools.zip && \ rm ortools.zip -RUN ANTARES_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '.antares_version' ) && \ +RUN ANTARES_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '."antares_version"' ) && \ echo "ANTARES_VERSION=$ANTARES_VERSION" && \ mkdir -p deps && \ URL_ORTOOLS=https:https://github.com/AntaresSimulatorTeam/Antares_Simulator/releases/download/v$ANTARES_VERSION/antares-${ANTARES_VERSION}-CentOS-7.9.2009.tar.gz && \ @@ -96,7 +96,7 @@ RUN export PATH=/root/miniconda3/condabin:$PATH && \ RUN cd _build && \ cmake --install . -RUN XPANSION_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '.antares_xpansion_version' ) && \ +RUN XPANSION_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '."antares_xpansion_version"' ) && \ LSB_RELEASE_ID_SHORT=$(lsb_release --short --id) && \ LSB_RELEASE_VERSION_SHORT=$(lsb_release --short --release) && \ pushd cd _install && \ @@ -114,7 +114,7 @@ RUN XPANSION_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | mkdir archive && \ mv _install/$ARCHIVE_NAME archive/ -RUN XPANSION_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '.antares_xpansion_version' ) && \ +RUN XPANSION_VERSION=$(cat /workspace/antares-xpansion/antares-version.json | jq -r '."antares_xpansion_version"' ) && \ pushd _build && \ export FILE_NAME="antaresXpansion-$XPANSION_VERSION-CentOS-7.9.2009" && \ cpack -G TGZ -D CPACK_PACKAGE_FILE_NAME=$FILE_NAME && \