Skip to content

Commit 91a2c07

Browse files
authored
Merge pull request #77 from erikn69/patch-3
Feat php8.4
2 parents 659872a + 3157645 commit 91a2c07

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
# "5.6", "7.0", "7.1", "7.2", "7.3",
16-
php_version: ["7.4", "8.0", "8.1", "8.2", "8.3"]
16+
php_version: ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
- PHP_VERSION=8.1
1616
- PHP_VERSION=8.2
1717
- PHP_VERSION=8.3
18+
- PHP_VERSION=8.4
1819

1920
# Installing a newer Docker version
2021
before_install:

Dockerfile-8.4

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
#
2+
#--------------------------------------------------------------------------
3+
# Image Setup
4+
#--------------------------------------------------------------------------
5+
#
6+
7+
FROM php:8.4-fpm
8+
9+
# Set Environment Variables
10+
ENV DEBIAN_FRONTEND=noninteractive
11+
12+
#
13+
#--------------------------------------------------------------------------
14+
# Software's Installation
15+
#--------------------------------------------------------------------------
16+
#
17+
# Installing tools and PHP extentions using "apt", "docker-php", "pecl",
18+
#
19+
20+
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev",
21+
# "libpng-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev",
22+
RUN set -eux; \
23+
apt-get update; \
24+
apt-get upgrade -y; \
25+
apt-get install -y --no-install-recommends \
26+
curl \
27+
libmemcached-dev \
28+
libz-dev \
29+
libpq-dev \
30+
libjpeg-dev \
31+
libpng-dev \
32+
libfreetype6-dev \
33+
libssl-dev \
34+
libwebp-dev \
35+
libxpm-dev \
36+
libmcrypt-dev \
37+
libonig-dev; \
38+
rm -rf /var/lib/apt/lists/*
39+
40+
RUN set -eux; \
41+
# Install the PHP pdo_mysql extention
42+
docker-php-ext-install pdo_mysql; \
43+
# Install the PHP pdo_pgsql extention
44+
docker-php-ext-install pdo_pgsql; \
45+
# Install the PHP gd library
46+
docker-php-ext-configure gd \
47+
--prefix=/usr \
48+
--with-jpeg \
49+
--with-webp \
50+
--with-xpm \
51+
--with-freetype; \
52+
docker-php-ext-install gd; \
53+
php -r 'var_dump(gd_info());'

0 commit comments

Comments
 (0)