Compare commits

..

3 commits

Author SHA1 Message Date
Chris (wolcen) Thompson
1f4bb1ffe9 Add additional PHP dependencies for Drupal 2025-11-22 15:03:09 -05:00
Chris (wolcen) Thompson
383b2150e8 Correct example of using container locally 2025-11-22 15:03:09 -05:00
Chris (wolcen) Thompson
4244d60b75 Add dependencies for mayfirst preauth 2025-11-22 15:03:09 -05:00
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,8 @@ RUN php -r "if (hash_file('sha384', 'composer-setup.php') === 'c8b085408188070d5
RUN php composer-setup.php
RUN php -r "unlink('composer-setup.php');"
RUN mv composer.phar /usr/local/bin/composer
RUN apt-get update -yqq && apt-get install -yqq git gettext-base zip unzip 7zip libzip-dev rsync && rm -rf /var/lib/apt/lists/*
RUN apt-get update -yqq && apt-get install -yqq libmariadb-dev git gettext-base libbz2-dev libpng-dev libicu-dev zip unzip 7zip libzip-dev rsync jq curl && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install bcmath bz2 gd intl zip mysqli
RUN mv /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini
#RUN docker-php-ext-install zip

View file

@ -20,4 +20,4 @@ docker push git.agaric.com/agaric/deploycontainer:${TAG}
docker push git.agaric.com/agaric/deploycontainer:latest
```
If you need a token for git access to git.drupalcode.org, go to https://git.drupalcode.org/-/user_settings/personal_access_tokens and grant the token api_read access. The token can be tested (i.e. inside a deploycontainer - `docker run -v .:/home/deployer -it agaric/deploycontainer:latest`) with `composer config -g gitlab-token.git.drupalcode.org {your token}` and then running composer install.
If you need a token for git access to git.drupalcode.org, go to https://git.drupalcode.org/-/user_settings/personal_access_tokens and grant the token api_read access. The token can be tested (i.e. inside a deploycontainer - `docker run -v .:/home/deployer -it --rm git.agaric.com/agaric/deploycontainer:latest`) with `composer config -g gitlab-token.git.drupalcode.org {your token}` and then running composer install.