Skip to content

Commit 757919f

Browse files
committed
升级到4.0
1 parent ca2eddd commit 757919f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ trusted-host = pypi.tuna.tsinghua.edu.cn" > /etc/pip.conf && \
4141
pip install pandas && \
4242
pip install tornado && \
4343
pip install easytrader && \
44-
curl -SL https://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz | tar -xzC . && \
44+
curl -SL https://codeload.github.com/TA-Lib/ta-lib-python/tar.gz/refs/tags/TA_Lib-0.4.30 | tar -xzC . && \
4545
cd ta-lib/ && \
4646
./configure --prefix=/usr && \
4747
make && \
@@ -50,7 +50,7 @@ trusted-host = pypi.tuna.tsinghua.edu.cn" > /etc/pip.conf && \
5050
pip install TA-Lib && \
5151
rm -rf ta-lib* && \
5252
apt-get --purge remove -y gcc make python3-dev default-libmysqlclient-dev curl && \
53-
rm -rf /root/.cache/* && apt-get clean && apt-get autoremove -y
53+
rm -rf /root/.cache/* && rm -rf /var/lib/apt/lists/* && apt-get clean && apt-get autoclean && apt-get autoremove -y
5454

5555
WORKDIR /data
5656
#InStock软件

0 commit comments

Comments
 (0)