Skip to content

Commit 757bce3

Browse files
authored
Merge pull request #66 from erikn69/patch-3
feat: Support PHP 8.4
2 parents ccf2817 + 9d4619b commit 757bce3

File tree

3 files changed

+78
-1
lines changed

3 files changed

+78
-1
lines changed

.github/workflows/dockerpublish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
php_version: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
18+
php_version: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ env:
1212
- PHP_VERSION=7.3
1313
- PHP_VERSION=7.4
1414
- PHP_VERSION=8.0
15+
- PHP_VERSION=8.1
16+
- PHP_VERSION=8.2
17+
- PHP_VERSION=8.3
18+
- PHP_VERSION=8.4
1519

1620
# Installing a newer Docker version
1721
before_install:

Dockerfile-8.4

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#
2+
#--------------------------------------------------------------------------
3+
# Image Setup
4+
#--------------------------------------------------------------------------
5+
#
6+
7+
FROM phusion/baseimage:focal-1.0.0
8+
9+
LABEL io.laradock.image.authors="Mahm1oud Zalt <[email protected]>"
10+
LABEL io.laradock.image.authors="Thomas Combe <[email protected]>"
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.4-cli \
37+
php8.4-common \
38+
php8.4-curl \
39+
php8.4-intl \
40+
php8.4-xml \
41+
php8.4-mbstring \
42+
php8.4-mysql \
43+
php8.4-pgsql \
44+
php8.4-sqlite \
45+
php8.4-sqlite3 \
46+
php8.4-zip \
47+
php8.4-bcmath \
48+
php8.4-memcached \
49+
php8.4-gd \
50+
php8.4-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)