Skip to content

Commit 755e566

Browse files
committed
First cut to php80 (using 8.0.0 alpha3)
Just removing all the missing pieces, specially all the pecl stuff, towards earlier testing.
1 parent 1e0b334 commit 755e566

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-apache-buster
1+
FROM php:8.0.0alpha3-apache-buster
22

33
ADD root/ /
44
# Fix the original permissions of /tmp, the PHP default upload tmp dir.

hooks/post_push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# A space-separated list of additional tags to place on this image.
6-
additionalTags=(7.4)
6+
additionalTags=(8.0)
77

88
# Tag and push image for each additional tag
99
for tag in ${additionalTags[@]}; do

root/tmp/setup/php-extensions.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ docker-php-ext-install -j$(nproc) \
4747
opcache \
4848
pgsql \
4949
soap \
50-
xsl \
51-
xmlrpc
50+
xsl
51+
# xmlrpc -- not existing as of 8.0.0alpha3
5252

5353
# GD.
5454
docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
@@ -59,8 +59,8 @@ docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/
5959
docker-php-ext-install -j$(nproc) ldap
6060

6161
# Memcached, MongoDB, Redis, APCu, igbinary.
62-
pecl install memcached mongodb redis apcu igbinary uuid
63-
docker-php-ext-enable memcached mongodb redis apcu igbinary uuid
62+
#pecl install memcached mongodb redis apcu igbinary uuid -- pecl not existing as of 8.0.0alpha3
63+
#docker-php-ext-enable memcached mongodb redis apcu igbinary uuid -- pecl not existing as of 8.0.0alpha3
6464

6565
# ZIP
6666
docker-php-ext-configure zip --with-zip
@@ -79,15 +79,15 @@ echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
7979
# References:
8080
# - https://github.com/moodlehq/moodle-php-apache/issues/16 (part of the php72 image discussion)
8181
# - https://github.com/moodlehq/moodle-php-apache/issues/19 (awaiting for a better solution)
82-
/tmp/setup/solr-extension.sh
82+
# /tmp/setup/solr-extension.sh -- pecl not existing as of 8.0.0alpha3
8383

8484
# Install Microsoft dependencies for sqlsrv.
8585
# (kept apart for clarity, still need to be run here
8686
# before some build packages are deleted)
87-
/tmp/setup/sqlsrv-extension.sh
87+
#/tmp/setup/sqlsrv-extension.sh -- pecl not existing as of 8.0.0alpha3
8888

8989
# Keep our image size down..
90-
pecl clear-cache
90+
# pecl clear-cache -- pecl not existing as of 8.0.0alpha3
9191
apt-get remove --purge -y $BUILD_PACKAGES
9292
apt-get autoremove -y
9393
apt-get clean

0 commit comments

Comments
 (0)