docker blocks when running the command:
docker-compose build nginx php-fpm workspace mysql redis redis-webui adminer;
gives the the following error:
CACHED [workspace 50/116] RUN if [ false = true ]; then if [ 8.3 != "8.3" ] && [ 8.3 != "8.0" ]; then curl -L -o /tmp/ioncube_loaders_lin 0.0s
CACHED [workspace 51/116] RUN if [ false = true ]; then apt-get -y install mysql-client && curl https://github.com/hechoendrupal/drupal-console-1 0.0s
CANCELED[workspace 52/116] RUN if [ true = true ]; then mkdir -p /home/laradock/.nvm && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/ 228.0s
does anyone know what is the cause? I use laravel and laradock.
2
Answers
i get this message when i run curl command:
I think it might be a network issue. I suggest checking network connectivity from the host where you are building your containers:
Also, it always a good idea to add some retry logic to the curl command, like this:
and when you will rebuild your images, you can add more verbose logging, by add
--verbose
option, like this: