Merge pull request #3304 from alphasnow/master

fix: correct cachetool url #3303
This commit is contained in:
Shao Yu-Lung (Allen) 2023-03-30 08:07:22 +08:00 committed by GitHub
commit 94efcf7a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1090,9 +1090,9 @@ ARG INSTALL_CACHETOOL=false
RUN if [ ${INSTALL_CACHETOOL} = true ]; then \ RUN if [ ${INSTALL_CACHETOOL} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") -ge 1 ]; then \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") -ge 1 ]; then \
curl -sO http://gordalina.github.io/cachetool/downloads/cachetool.phar; \ curl -sO https://gordalina.github.io/cachetool/downloads/cachetool.phar; \
else \ else \
curl http://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar -o cachetool.phar; \ curl https://gordalina.github.io/cachetool/downloads/cachetool-3.2.1.phar -o cachetool.phar; \
fi && \ fi && \
chmod +x cachetool.phar && \ chmod +x cachetool.phar && \
mv cachetool.phar /usr/local/bin/cachetool \ mv cachetool.phar /usr/local/bin/cachetool \