Skip to content

Commit

Permalink
Merge pull request #3304 from alphasnow/master
Browse files Browse the repository at this point in the history
fix: correct cachetool url #3303
  • Loading branch information
bestlong committed Mar 30, 2023
2 parents f1d7a72 + ca74510 commit 94efcf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php-fpm/Dockerfile
Expand Up @@ -1090,9 +1090,9 @@ ARG INSTALL_CACHETOOL=false

RUN if [ ${INSTALL_CACHETOOL} = true ]; 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 \
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 && \
chmod +x cachetool.phar && \
mv cachetool.phar /usr/local/bin/cachetool \
Expand Down

0 comments on commit 94efcf7

Please sign in to comment.