Merge pull request #3304 from alphasnow/master
fix: correct cachetool url #3303
This commit is contained in:
commit
94efcf7a54
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue