Skip to content

Commit

Permalink
[TASK] use PHP 8.1 docker image with production ini settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrundkoetter committed Mar 15, 2023
1 parent d99f8a9 commit 0d37917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM php:8.0-apache
FROM php:8.1-apache

RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
RUN apt-get update && apt-get install -y git \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer --version
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $exporter->run();

### with Docker

The image is based on `php:8.0-apache` and thus exposes data on port 80 by default. Assuming you fire this up with `-p 80:80` on
The image is based on `php:8.1-apache` and thus exposes data on port 80 by default. Assuming you fire this up with `-p 80:80` on
localhost, you can see the metrics on http://localhost/metrics.

Configuration is done with 3 env variables: `SENTRY_HOST`, `AUTH_TOKEN` and `HTTP_PROTO`.
Expand Down

0 comments on commit 0d37917

Please sign in to comment.