Skip to content

Commit b2bb0c6

Browse files
authored
Merge pull request #76 from erikn69/patch-4
feat: Support PHP 8.5
2 parents 4d64379 + 8ced8ad commit b2bb0c6

File tree

3 files changed

+75
-1
lines changed

3 files changed

+75
-1
lines changed

.github/workflows/dockerpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
php_version: ["8.1", "8.2", "8.3", "8.4"]
17+
php_version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
1818
continue-on-error: true
1919
steps:
2020
- 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: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#
2+
#--------------------------------------------------------------------------
3+
# Image Setup
4+
#--------------------------------------------------------------------------
5+
#
6+
7+
FROM phusion/baseimage:noble-1.0.2
8+
9+
LABEL io.laradock.image.authors="Mahm1oud Zalt <mahmoud@zalt.me>"
10+
LABEL io.laradock.image.authors="Thomas Combe <tcombe@webqam.fr>"
11+
12+
ENV DEBIAN_FRONTEND=noninteractive
13+
RUN locale-gen en_US.UTF-8
14+
15+
ENV LANGUAGE=en_US.UTF-8
16+
ENV LC_ALL=en_US.UTF-8
17+
ENV LC_CTYPE=en_US.UTF-8
18+
ENV LANG=en_US.UTF-8
19+
ENV TERM=xterm
20+
21+
RUN set -eux \
22+
# Add the "PHP 8" ppa
23+
&& apt-get install -y software-properties-common \
24+
&& add-apt-repository -y ppa:ondrej/php \
25+
#
26+
#--------------------------------------------------------------------------
27+
# Software's Installation
28+
#--------------------------------------------------------------------------
29+
#
30+
&& echo 'DPkg::options { "--force-confdef"; };' >> /etc/apt/apt.conf \
31+
# Install "PHP Extentions", "libraries", "Software's"
32+
&& apt-get update \
33+
&& apt-get upgrade -y \
34+
&& apt-get install -y --allow-downgrades --allow-remove-essential \
35+
--allow-change-held-packages \
36+
php8.5-cli \
37+
php8.5-common \
38+
php8.5-curl \
39+
php8.5-intl \
40+
php8.5-xml \
41+
php8.5-mbstring \
42+
php8.5-mysql \
43+
php8.5-pgsql \
44+
php8.5-sqlite \
45+
php8.5-sqlite3 \
46+
php8.5-zip \
47+
php8.5-bcmath \
48+
php8.5-memcached \
49+
php8.5-gd \
50+
php8.5-dev \
51+
pkg-config \
52+
libcurl4-openssl-dev \
53+
libedit-dev \
54+
libssl-dev \
55+
libxml2-dev \
56+
xz-utils \
57+
libsqlite3-dev \
58+
rsync \
59+
sqlite3 \
60+
git \
61+
curl \
62+
vim \
63+
nano \
64+
tree \
65+
postgresql-client \
66+
&& apt-get clean \
67+
#####################################
68+
# Composer:
69+
#####################################
70+
# Install composer and add its bin to the PATH.
71+
&& curl -s http://getcomposer.org/installer | php \
72+
&& echo "export PATH=${PATH}:/var/www/vendor/bin" >> ~/.bashrc \
73+
&& mv composer.phar /usr/local/bin/composer

0 commit comments

Comments
 (0)