Skip to content

Commit 3f5a9c5

Browse files
authored
Merge pull request #1 from milbar/master
add php8.4 support
2 parents 311f9c6 + 693c304 commit 3f5a9c5

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15+
- tag: "8.4"
16+
php: "8.4"
1517
- tag: "8.3"
1618
php: "8.3"
1719
- tag: "8.2"

8.4/Dockerfile

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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"

0 commit comments

Comments
 (0)