fix: correct cachetool url #3303
This commit is contained in:
parent
f5f389331a
commit
ca74510f77
@ -1082,9 +1082,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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user