Skip to content

Commit

Permalink
Merge pull request #17 from craftcms/environment-overrides
Browse files Browse the repository at this point in the history
Place the ini file in the correct path
  • Loading branch information
jasonmccallister authored Sep 5, 2024
2 parents 64e6623 + 72d3dd4 commit ad07d89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
COPY etc/supervisord.conf /etc/supervisord.conf
COPY etc/supervisord.d /etc/supervisord.d
COPY etc/php-fpm/php-fpm.conf /etc/php-fpm.conf
COPY etc/php.d/60-craftcms.ini /etc/php.d/60-craftcms.ini
COPY etc/php.d/60-craftcms.ini /etc/php/${php_version}/fpm/conf.d/60-craftcms.ini

# set a friendly path for php-fpm that does not have the version
RUN update-alternatives --install /usr/sbin/php-fpm php-fpm /usr/sbin/php-fpm${php_version} 1
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IMAGE ?= craftcms/image
PHP_VERSION ?= 8.2
PHP_VERSION ?= 8.3
UBUNTU_VERSION ?= 22.04
TAG ?= ${PHP_VERSION}

Expand All @@ -26,4 +26,4 @@ create-project:
composer create-project craftcms/craft examples/craftcms/local

shell:
docker run --rm -it ubuntu:${UBUNTU_VERSION} /bin/bash
docker run --rm -it ubuntu:${UBUNTU_VERSION} /bin/bash

0 comments on commit ad07d89

Please sign in to comment.