mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
fix: devcontainer
This commit is contained in:
8
.devcontainer/fpm/Dockerfile
Normal file
8
.devcontainer/fpm/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
# From official php image.
|
||||
FROM php:8.0-fpm-alpine
|
||||
# Install postgres pdo driver.
|
||||
RUN apk add --no-cache postgresql-dev && docker-php-ext-install pdo_pgsql
|
||||
# Install redis driver.
|
||||
RUN mkdir -p /usr/src/php/ext/redis; \
|
||||
curl -fsSL --ipv4 https://github.com/phpredis/phpredis/archive/5.3.4.tar.gz | tar xvz -C "/usr/src/php/ext/redis" --strip 1; \
|
||||
docker-php-ext-install redis
|
||||
Reference in New Issue
Block a user