Skip to content

Commit 64a0c99

Browse files
Larvan2jimlee2048
andcommitted
chore: fix Dockerfile building error
Co-authored-by: Jim Lee <[email protected]>
1 parent df318b2 commit 64a0c99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN apk add --no-cache --virtual .build-tools git g++ build-base linux-headers c
2929
install -d /usr/include/date/ && \
3030
install -m644 libcron/externals/date/include/date/* /usr/include/date/ && \
3131
cd .. && \
32-
git clone https://github.com/ToruNiina/toml11 --depth=1 && \
32+
git clone https://github.com/ToruNiina/toml11 --branch v3.7.1 --depth=1 && \
3333
cd toml11 && \
3434
cmake -DCMAKE_CXX_STANDARD=11 . && \
3535
make install -j $THREADS && \

scripts/build.alpine.release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cmake -DCMAKE_BUILD_TYPE=Release .
3434
make libcron install -j2
3535
cd ..
3636

37-
git clone https://github.com/ToruNiina/toml11 --depth=1
37+
git clone https://github.com/ToruNiina/toml11 --branch v3.7.1 --depth=1 && \
3838
cd toml11
3939
cmake -DCMAKE_CXX_STANDARD=11 .
4040
make install -j4

0 commit comments

Comments
 (0)