Use PHP8.1 as docker base image.

This commit is contained in:
Jan Böhmer 2022-07-21 00:59:34 +02:00
parent b78a9dc982
commit 49b0ef02d4
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM php:7-apache FROM php:8.1-apache
# Install needed dependencies for PHP build # Install needed dependencies for PHP build
RUN apt-get update && apt-get install -y pkg-config curl libcurl4-openssl-dev libicu-dev \ RUN apt-get update && apt-get install -y pkg-config curl libcurl4-openssl-dev libicu-dev \

View file

@ -15,3 +15,5 @@ services:
environment: environment:
# Put SQLite database in our mapped folder. You can configure some other kind of database here too. # Put SQLite database in our mapped folder. You can configure some other kind of database here too.
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db - DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
# In demo env logs will be redirected to stderr
- APP_ENV=demo