From 4797a5af31ea0b9d1a34e77cf2f0416dd942eb3f Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Mon, 16 Oct 2023 08:54:30 +0000 Subject: [PATCH] chore: fix Dockerfile building error --- scripts/Dockerfile | 2 +- scripts/build.alpine.release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 33408f990d..5267387acb 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -29,7 +29,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c install -d /usr/include/date/ && \ install -m644 libcron/externals/date/include/date/* /usr/include/date/ && \ cd .. && \ - git clone https://github.com/ToruNiina/toml11 --depth=1 && \ + git clone https://github.com/ToruNiina/toml11 --branch v3.7.1 --depth=1 && \ cd toml11 && \ cmake -DCMAKE_CXX_STANDARD=11 . && \ make install -j $THREADS && \ diff --git a/scripts/build.alpine.release.sh b/scripts/build.alpine.release.sh index 24af4948b9..53822b4da1 100644 --- a/scripts/build.alpine.release.sh +++ b/scripts/build.alpine.release.sh @@ -34,7 +34,7 @@ cmake -DCMAKE_BUILD_TYPE=Release . make libcron install -j2 cd .. -git clone https://github.com/ToruNiina/toml11 --depth=1 +git clone https://github.com/ToruNiina/toml11 --branch v3.7.1 --depth=1 && \ cd toml11 cmake -DCMAKE_CXX_STANDARD=11 . make install -j4