Since this morning I started getting the following error when trying to enable the PHP GD extension:
/usr/local/bin/docker-php-ext-enable: 108: /usr/local/bin/docker-php-ext-enable: cannot create /conf.d/docker-php-ext-gd.ini: Directory nonexistent
I’ve not touched the .circleci/config.yml file at any point, and any old previously passing builds are now also failing. I also tried a different image, but nothing works so far.
Below is an extract of my CircleCI config file:
jobs: build: docker: - image: circleci/php:7.2-browsers working_directory: ~/repo steps: - checkout - run: name: Install GD library command: sudo apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng-dev && sudo docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && sudo docker-php-ext-install -j$(nproc) gd