File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 12
12
strategy :
13
13
matrix :
14
14
include :
15
+ - tag : " 8.4"
16
+ php : " 8.4"
15
17
- tag : " 8.3"
16
18
php : " 8.3"
17
19
- tag : " 8.2"
Original file line number Diff line number Diff line change
1
+ FROM php:8.4
2
+
3
+ # Add docker-php-extension-installer script
4
+ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
5
+
6
+ # Install dependencies
7
+ RUN apt update -yqq \
8
+ && apt install \
9
+ bash \
10
+ curl \
11
+ g++ \
12
+ gcc \
13
+ git \
14
+ libc-dev \
15
+ libzip-dev \
16
+ make \
17
+ openssh-client \
18
+ rsync \
19
+ -yqq
20
+
21
+ # Install php extensions
22
+ RUN chmod +x /usr/local/bin/install-php-extensions && \
23
+ install-php-extensions \
24
+ @composer \
25
+ redis-stable \
26
+ imagick-stable \
27
+ xdebug-stable \
28
+ bcmath \
29
+ calendar \
30
+ exif \
31
+ gd \
32
+ intl \
33
+ pdo_mysql \
34
+ pdo_pgsql \
35
+ pcntl \
36
+ soap \
37
+ zip
38
+
39
+ # Add local and global vendor bin to PATH.
40
+ ENV PATH ./vendor/bin:/composer/vendor/bin:/root/.composer/vendor/bin:/usr/local/bin:$PATH
41
+
42
+ # Install NVM
43
+ RUN touch ~/.bashrc
44
+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
45
+ RUN export NVM_DIR="$([ -z " ${XDG_CONFIG_HOME-}" ] && printf %s " ${HOME}/.nvm" || printf %s " ${XDG_CONFIG_HOME}/nvm")" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
You can’t perform that action at this time.
0 commit comments