2025-01-06 19:53:46 +00:00
|
|
|
FROM mcr.microsoft.com/devcontainers/php:1-8.2-bookworm
|
2025-01-06 19:51:31 +00:00
|
|
|
# Install MariaDB client
|
|
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
|
|
&& apt-get install -y mariadb-client \
|
|
|
|
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
2025-01-06 16:33:07 +00:00
|
|
|
|
2025-01-06 19:51:31 +00:00
|
|
|
# Install php-mysql driver
|
2025-01-06 19:57:52 +00:00
|
|
|
RUN docker-php-ext-install pdo pdo_mysql
|
2025-01-06 16:33:07 +00:00
|
|
|
|
2025-01-06 19:51:31 +00:00
|
|
|
# [Optional] Uncomment this section to install additional OS packages.
|
2025-01-06 19:57:52 +00:00
|
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
|
|
&& apt-get -y install --no-install-recommends imagemagick
|
2025-01-06 19:45:07 +00:00
|
|
|
|
2025-01-06 19:51:31 +00:00
|
|
|
# [Optional] Uncomment this line to install global node packages.
|
|
|
|
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
|