Adding support for PHP 8.4 and upgrading MariaDB to 11.4.5
All checks were successful
Cloud Apache Container / Build-and-Push (push) Successful in 47s
All checks were successful
Cloud Apache Container / Build-and-Push (push) Successful in 47s
This commit is contained in:
parent
8a7490ef98
commit
4fd7ee465a
@ -1,5 +1,5 @@
|
||||
FROM almalinux/9-base
|
||||
ARG PHPVER=81
|
||||
ARG PHPVER=83
|
||||
RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y
|
||||
RUN dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm
|
||||
RUN dnf update -y && dnf upgrade -y
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Cloud Apache Container #
|
||||
This is the base container for running PHP based applications. Select the PHP version environment variables. PHP Version Defaults to PHP 8.1
|
||||
This is the base container for running PHP based applications. Select the PHP version environment variables. PHP Version Defaults to PHP 8.3
|
||||
|
||||
*__You mush have docker or compatable containerization software running.__*
|
||||
|
||||
@ -17,7 +17,7 @@ mkdir -p local-development/domain.tld
|
||||
cd local-development/domain.tld
|
||||
mkdir user
|
||||
mkdir -p user/logs/{apache,system}
|
||||
docker run -d -it -p 80:80 -p 443:443 -e PHPVER=82 -e environment=DEV --mount type=bind,source="$(pwd)"/user,target=/home/myuser -v"$name-mysql":/var/lib/mysql -e uid=30001 -e user=myuser -e domain=localhost --name local-dev repo.anhonesthost.net/cloud-hosting-platform/cac:latest
|
||||
docker run -d -it -p 80:80 -p 443:443 -e PHPVER=84 -e environment=DEV --mount type=bind,source="$(pwd)"/user,target=/home/myuser -v"$name-mysql":/var/lib/mysql -e uid=30001 -e user=myuser -e domain=localhost --name local-dev repo.anhonesthost.net/cloud-hosting-platform/cac:latest
|
||||
```
|
||||
|
||||
*This will start the processes needed to run sites locally.*
|
||||
@ -48,7 +48,8 @@ The database credentials are shown in the /home/```$user```/mysql_creds file, wh
|
||||
*80* - PHP 8.0
|
||||
*81* - PHP 8.1
|
||||
*82* - PHP 8.2
|
||||
*83* - PHP 8.3
|
||||
*83* - PHP 8.3
|
||||
*84* - PHP 8.4
|
||||
|
||||
### Environment Variables ###
|
||||
__Required Tags__
|
||||
|
@ -1,10 +1,10 @@
|
||||
# MariaDB 10.11 CentOS repository list - created 2023-04-03 23:52 UTC
|
||||
# MariaDB 11.4.5 CentOS repository list - created 2023-04-03 23:52 UTC
|
||||
# https://mariadb.org/download/
|
||||
[mariadb]
|
||||
name = MariaDB
|
||||
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
|
||||
# baseurl = https://rpm.mariadb.org/10.11/centos/$releasever/$basearch
|
||||
baseurl = https://mirrors.xtom.com/mariadb/yum/10.11/centos/$releasever/$basearch
|
||||
baseurl = https://rpm.mariadb.org/mariadb/yum/11.4.5/centos/$releasever/$basearch
|
||||
module_hotfixes = 1
|
||||
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
|
||||
gpgkey = https://mirrors.xtom.com/mariadb/yum/RPM-GPG-KEY-MariaDB
|
||||
|
6
scripts/install-php84.sh
Normal file
6
scripts/install-php84.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
dnf module enable php:remi-8.4 -y
|
||||
dnf install -y php php-fpm php-mysqlnd php-xml php-pecl-zip php-sodium php-soap php-pecl-xmlrpc \
|
||||
php-pecl-redis5 php-pecl-memcached php-pecl-memcache php-pecl-ip2location php-pecl-imagick php-pecl-geoip \
|
||||
php-mysqlnd php-mbstring php-intl php-gd libzip php-cli
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user