Skip to content
This repository has been archived by the owner on Dec 27, 2019. It is now read-only.

Fix libxslt/xslt-config error on fresh Docker Compose environment #1326

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jakejarvis
Copy link

Fixes [insert bug/issue number]

Hello! Attempting to start a fresh environment with docker-compose up in the develop branch threw the following error in the docker-php-ext-install step:

configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution
ERROR: Service 'drupal' failed to build: The command '/bin/sh -c apt-get update &&     apt-get install -y --no-install-recommends         git zip unzip bzip2 libbz2-dev rsync nodejs         libgd-dev mysql-client openssh-client vim         python python-dev libxslt1.1 &&     docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ &&     docker-php-ext-install pdo_mysql gd bz2 xsl &&     pecl install xdebug-2.6.0' returned a non-zero code: 1

As I'm brand new to the codebase, I can't be sure using libxslt-dev doesn't break anything else – but in my very limited testing, the image and site seem to function as expected. :)

Changes proposed in this pull request:

Add @mentions of the person or team responsible for reviewing proposed changes

@jimafisk
Copy link
Contributor

Hey @jakejarvis thanks for contributing to the project! Your change looks great, I just need to make sure it passes our automated tests before pulling in.

Internally we've been using lando for our local dev recently, but the docker-compose steps from the readme are probably your best bet if you're not syncing to our database. Here's a quick video tutorial in case it's helpful, but it sounds like you're already past that, so nice job!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants