Laradock error: Service 'php-fpm' failed to build: invalid reference format

Viewed 12

I´m getting a very annoying error when trying to change my php version. I followed the instructions on the docs by simply going to the .env inside the laradock folder and change the php version to 7.4, then i did this:

docker-compose down
docker-compose build --no-cache php-fpm nginx mysql

No matter if i add other containers or not the erro is always the same:

Building php-fpm
Step 1/154 : ARG LARADOCK_PHP_VERSION
Step 2/154 : ARG BASE_IMAGE_TAG_PREFIX=latest
Step 3/154 : FROM laradock/php-fpm:${BASE_IMAGE_TAG_PREFIX}-${LARADOCK_PHP_VERSION}
ERROR: Service 'php-fpm' failed to build: invalid reference format

Ps: this laradock is from 2020, i don´t know what version is and i don´t have the authorization to change the files in the server.

What is the problem? any help Regards

0 Answers
Related