Skip to content

Commit 33ca305

Browse files
authored
Merge pull request #86 from erikn69/patch-4
feat php8.5
2 parents a4b33a7 + bc8547f commit 33ca305

3 files changed

Lines changed: 55 additions & 1 deletion

File tree

.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: ["8.1", "8.2", "8.3", "8.4"]
16+
php_version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
1717
# continue-on-error: true
1818
steps:
1919
- name: Checkout

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
- PHP_VERSION=8.2
1717
- PHP_VERSION=8.3
1818
- PHP_VERSION=8.4
19+
- PHP_VERSION=8.5
1920

2021
# Installing a newer Docker version
2122
before_install:

Dockerfile-8.5

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.5-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)