From 11c9fe5fa31bd2f330c6d4fd2b11c2f45f5a84b6 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 31 Oct 2021 15:55:32 +0800 Subject: [PATCH] revert to old version --- Dockerfile | 4 ++-- go.mod | 4 ++-- go.sum | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 855628e..ab0bbe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,13 @@ RUN apk add --no-cache \ WORKDIR /tmp/_build_tdlib/ -RUN git clone https://github.com/tdlib/td.git /tmp/_build_tdlib/ +RUN git clone --depth 1 --branch v1.5.0 https://github.com/tdlib/td.git /tmp/_build_tdlib/ RUN mkdir build WORKDIR /tmp/_build_tdlib/build/ RUN cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr/local .. -RUN make -j13 +RUN make -j9 RUN cmake --build . --target install RUN make install diff --git a/go.mod b/go.mod index 5a1f756..ac7e0ff 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module git.siteop.biz/chtwrs/gocw -go 1.13 +go 1.16 -require github.com/Arman92/go-tdlib v0.0.0-20200423222840-430aa563191c +require github.com/Arman92/go-tdlib v0.0.0-20191103185020-a66012edd023 diff --git a/go.sum b/go.sum index 1a8250c..a49b9ee 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ -github.com/Arman92/go-tdlib v0.0.0-20200423222840-430aa563191c h1:ZjGWx5+3mK6GYJxPgZWq9+1C11eTW7gdElOL7ZVwHmU= -github.com/Arman92/go-tdlib v0.0.0-20200423222840-430aa563191c/go.mod h1:ZzkRfuaFj8etIYMj/ECtXtgfz72RE6U+dos27b3XIwk= +github.com/Arman92/go-tdlib v0.0.0-20191103185020-a66012edd023 h1:haMtq/TntyI3l1I3wF0BrjOJqumTZ+07IAYvNG6utx4= +github.com/Arman92/go-tdlib v0.0.0-20191103185020-a66012edd023/go.mod h1:ZzkRfuaFj8etIYMj/ECtXtgfz72RE6U+dos27b3XIwk= +github.com/Arman92/go-tdlib v1.0.0 h1:ioj9TlKXjmVfyc6LwyTb4bje1WhrhCUzlJlmYxow3w8= +github.com/Arman92/go-tdlib v1.0.0/go.mod h1:gz/NLfLyXSF3LufhmK4a+xcrlIvAUR67zxOWv0JxvsU=