-
-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathDockerfile
More file actions
13 lines (11 loc) · 669 Bytes
/
Copy pathDockerfile
File metadata and controls
13 lines (11 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM mcr.microsoft.com/devcontainers/php:4-8.4-bookworm
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends jq \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
# ds is pinned to v1, since v2 (the only version building against PHP 8.4 via
# PECL/docker-php-ext-install) dropped Vector/Deque/Stack/Queue/PriorityQueue.
RUN curl -L -o install-php-extensions \
https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions \
&& chmod +x install-php-extensions \
&& ./install-php-extensions gmp ds-^1@stable intl \
&& rm install-php-extensions