Skip to content

Commit 057db2d

Browse files
committed
First php83 debian bookworm (12) build
This is related to #179 For php-sqlsrv we are still using the bullseye apt source. This will be investigated later, not part of this issue.
1 parent d113df6 commit 057db2d

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.3.0beta2-apache-bullseye
1+
FROM php:8.3.0beta2-apache-bookworm
22

33
# So we can use it anywhere for conditional stuff. Keeping BC with old (non-buildkit, builders)
44
ARG TARGETPLATFORM

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ A Moodle PHP environment configured for Moodle development based on [Official PH
66

77
| PHP Version | Variant | Tags | Status | Notes |
88
|--------------|---------|------------------|--------|-------|
9-
| PHP 8.3 | Bullseye| dev| [![Test and publish 8.3](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=master)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|8.3.0beta2, testing|
9+
| PHP 8.3 | Bookworm| dev| [![Test and publish 8.3](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=master)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|8.3.0beta2, testing|
10+
| PHP 8.2 | Bookworm | 8.2-bookworm| [![Test and publish 8.2](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=8.2-bookworm)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|
11+
| PHP 8.1 | Bookworm | 8.1-bookworm | [![Test and publish 8.1](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=8.1-bookworm)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|
1012
| PHP 8.2 | Bullseye| 8.2, 8.2-bullseye| [![Test and publish 8.2](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=8.2-bullseye)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|
1113
| PHP 8.1 | Bullseye| 8.1, 8.1-bullseye| [![Test and publish 8.1](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=8.1-bullseye)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|
1214
| PHP 8.0 | Bullseye| 8.0, 8.0-bullseye| [![Test and publish 8.0](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml/badge.svg?branch=8.0-bullseye)](https://github.com/moodlehq/moodle-php-apache/actions/workflows/test_buildx_and_publish.yml)|

root/tmp/setup/php-extensions.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ PACKAGES_POSTGRES="libpq5"
1616
PACKAGES_MYMARIA="libmariadb3"
1717

1818
# Packages for other Moodle runtime dependenices.
19-
PACKAGES_RUNTIME="ghostscript libaio1 libcurl4 libgss3 libicu67 libmcrypt-dev libxml2 libxslt1.1 \
19+
PACKAGES_RUNTIME="ghostscript libaio1 libcurl4 libgss3 libicu72 libmcrypt-dev libxml2 libxslt1.1 \
2020
libzip-dev sassc unzip zip"
2121

2222
# Packages for Memcached.
2323
PACKAGES_MEMCACHED="libmemcached11 libmemcachedutil2"
2424

2525
# Packages for LDAP.
26-
PACKAGES_LDAP="libldap-2.4-2"
26+
PACKAGES_LDAP="libldap-2.5-0"
2727

2828
apt-get update
2929
apt-get install -y --no-install-recommends apt-transport-https \

root/tmp/setup/sqlsrv-extension.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ apt-get install -y --no-install-recommends apt-transport-https \
2424
# Install Microsoft dependencies for sqlsrv
2525
echo "Downloading sqlsrv files"
2626
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
27-
# TODO, bullseye should be 11, but the msodbcsql17 package is not available yet, hence using buster (10) one.
28-
curl https://packages.microsoft.com/config/debian/10/prod.list -o /etc/apt/sources.list.d/mssql-release.list
27+
# TODO, bookworm should be 12, but the msodbcsql17 package is not available yet, hence using bullseye (11) one.
28+
# (see https://learn.microsoft.com/en-us/answers/questions/1328834/debian-12-public-key-is-not-available)
29+
curl https://packages.microsoft.com/config/debian/11/prod.list -o /etc/apt/sources.list.d/mssql-release.list
2930
apt-get update
3031

3132
echo "Install msodbcsql"

0 commit comments

Comments
 (0)