-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from erikn69/patch-3
feat: Support PHP 8.4
- Loading branch information
Showing
3 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# | ||
#-------------------------------------------------------------------------- | ||
# Image Setup | ||
#-------------------------------------------------------------------------- | ||
# | ||
|
||
FROM phusion/baseimage:focal-1.0.0 | ||
|
||
LABEL io.laradock.image.authors="Mahm1oud Zalt <mahmoud@zalt.me>" | ||
LABEL io.laradock.image.authors="Thomas Combe <tcombe@webqam.fr>" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN locale-gen en_US.UTF-8 | ||
|
||
ENV LANGUAGE=en_US.UTF-8 | ||
ENV LC_ALL=en_US.UTF-8 | ||
ENV LC_CTYPE=en_US.UTF-8 | ||
ENV LANG=en_US.UTF-8 | ||
ENV TERM xterm | ||
|
||
RUN set -eux \ | ||
# Add the "PHP 8" ppa | ||
&& apt-get install -y software-properties-common \ | ||
&& add-apt-repository -y ppa:ondrej/php \ | ||
# | ||
#-------------------------------------------------------------------------- | ||
# Software's Installation | ||
#-------------------------------------------------------------------------- | ||
# | ||
&& echo 'DPkg::options { "--force-confdef"; };' >> /etc/apt/apt.conf \ | ||
# Install "PHP Extentions", "libraries", "Software's" | ||
&& apt-get update \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install -y --allow-downgrades --allow-remove-essential \ | ||
--allow-change-held-packages \ | ||
php8.4-cli \ | ||
php8.4-common \ | ||
php8.4-curl \ | ||
php8.4-intl \ | ||
php8.4-xml \ | ||
php8.4-mbstring \ | ||
php8.4-mysql \ | ||
php8.4-pgsql \ | ||
php8.4-sqlite \ | ||
php8.4-sqlite3 \ | ||
php8.4-zip \ | ||
php8.4-bcmath \ | ||
php8.4-memcached \ | ||
php8.4-gd \ | ||
php8.4-dev \ | ||
pkg-config \ | ||
libcurl4-openssl-dev \ | ||
libedit-dev \ | ||
libssl-dev \ | ||
libxml2-dev \ | ||
xz-utils \ | ||
libsqlite3-dev \ | ||
rsync \ | ||
sqlite3 \ | ||
git \ | ||
curl \ | ||
vim \ | ||
nano \ | ||
tree \ | ||
postgresql-client \ | ||
&& apt-get clean \ | ||
##################################### | ||
# Composer: | ||
##################################### | ||
# Install composer and add its bin to the PATH. | ||
&& curl -s http://getcomposer.org/installer | php \ | ||
&& echo "export PATH=${PATH}:/var/www/vendor/bin" >> ~/.bashrc \ | ||
&& mv composer.phar /usr/local/bin/composer |