Skip to content

Commit 194d31a

Browse files
committed
DDEV 1.23 compatiblity, Drupal core yarn/sqlite compatibility. Docs.
1 parent 9b52716 commit 194d31a

File tree

5 files changed

+24
-9
lines changed

5 files changed

+24
-9
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ We're in #ddev-for-core-dev on [Drupal Slack](https://www.drupal.org/community/c
77
```
88
git clone https://git.drupalcode.org/project/drupal.git drupal
99
cd drupal
10-
ddev config --project-type=drupal10
10+
ddev config --omit-containers=db --disable-settings-management
1111
ddev start
12-
ddev corepack enable
1312
ddev get justafish/ddev-drupal-core-dev
1413
ddev restart
1514
ddev composer install

config.ddev-drupal-core-dev.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# #ddev-generated
2+
# This file is placed by the justafish/ddev-drupal-core-dev addon.
3+
4+
webimage_extra_packages: ["chromium-driver"]
5+
ddev_version_constraint: '>=v1.23.0'
6+
upload_dirs:
7+
# The install technique tries to remove all of sites/default/files
8+
# but with DDEV + mutagen that isn't possible.
9+
# so just redirect the upload_dirs.
10+
- .ddev/tmp

install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
name: ddev-drupal-core-dev
44

55
project_files:
6-
- web-build/Dockerfile
6+
- config.ddev-drupal-core-dev.yaml
7+
- web-build/Dockerfile.ddev-drupal-core-dev
78
- docker-compose.core-dev-selenium.yaml
89
- core-dev/phpunit-firefox.xml
910
- core-dev/phpunit-chrome.xml
@@ -26,7 +27,6 @@ post_install_actions:
2627
- cp core-dev/gitignore ../.gitignore
2728
- mkdir -p ../test_output
2829
- chmod +w ../test_output
29-
- ddev exec corepack enable
3030
- cd ../core && ddev yarn
3131

3232
removal_actions:

web-build/Dockerfile

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#ddev-generated
2+
3+
ARG TARGETPLATFORM
4+
5+
# Drupal core needs later Sqlite than Debian 12 so install from Debian Trixie.
6+
RUN SQLITE_VERSION=3.45.1 && \
7+
mkdir -p /tmp/sqlite3 && \
8+
wget -O /tmp/sqlite3/sqlite3.deb https://ftp.debian.org/debian/pool/main/s/sqlite3/sqlite3_${SQLITE_VERSION}-1_${TARGETPLATFORM##linux/}.deb && \
9+
wget -O /tmp/sqlite3/libsqlite3.deb https://ftp.debian.org/debian/pool/main/s/sqlite3/libsqlite3-0_${SQLITE_VERSION}-1_${TARGETPLATFORM##linux/}.deb && \
10+
dpkg -i /tmp/sqlite3/*.deb && \
11+
rm -rf /tmp/sqlite3

0 commit comments

Comments
 (0)