Skip to content

Commit 82fe06a

Browse files
joelpittetstasadev
andauthored
chore: fix webimage_extra_packages example in config.yaml (#8122) [skip ci]
Co-authored-by: Stanislav Zhuk <[email protected]>
1 parent f78ab7a commit 82fe06a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/content/users/configuration/config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Extra Debian packages for the project’s database container. (This is rarely us
136136
| -- | -- | --
137137
| :octicons-file-directory-16: project | `[]` | &zwnj;
138138

139-
Example: `dbimage_extra_packages: ["less"]` will add the `less` package when the database container is built.
139+
Example: `dbimage_extra_packages: [netcat, telnet, sudo]` will add the `netcat`, `telnet`, and `sudo` packages when the database container is built.
140140

141141
## `ddev_version_constraint`
142142

@@ -711,7 +711,7 @@ Extra Debian packages for the project’s web container.
711711
| -- | -- | --
712712
| :octicons-file-directory-16: project | `[]` | &zwnj;
713713

714-
Example: `webimage_extra_packages: [php${DDEV_PHP_VERSION}-yac, php${DDEV_PHP_VERSION}-bcmath]` will add the `php-yac` and `php-bcmath` packages when the web container is built.
714+
Example: `webimage_extra_packages: ['php${DDEV_PHP_VERSION}-tidy', 'php${DDEV_PHP_VERSION}-yac']` will add the `phpX.Y-tidy` and `phpX.Y-yac` packages when the web container is built.
715715

716716
## `webserver_type`
717717

docs/content/users/extend/customizing-images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ It’s common to have a requirement for the `web` or `db` images which isn’t b
1010
You can add extra Debian packages with lines like this in `.ddev/config.yaml`:
1111

1212
```yaml
13-
webimage_extra_packages: ["php${DDEV_PHP_VERSION}-tidy", "php${DDEV_PHP_VERSION}-yac"]
14-
dbimage_extra_packages: [telnet, netcat, sudo]
13+
webimage_extra_packages: ['php${DDEV_PHP_VERSION}-tidy', 'php${DDEV_PHP_VERSION}-yac']
14+
dbimage_extra_packages: [netcat, telnet, sudo]
1515
```
1616
1717
Then the additional packages will be built into the containers during [`ddev start`](../usage/commands.md#start).

pkg/ddevapp/templates.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ const ConfigInstructions = `
172172
# The mailpit port is not normally bound on the host at all, instead being routed
173173
# through ddev-router, but it can be bound directly to localhost if specified here.
174174
175-
# webimage_extra_packages: [php7.4-tidy, php-bcmath]
175+
# webimage_extra_packages: ['php${DDEV_PHP_VERSION}-tidy', 'php${DDEV_PHP_VERSION}-yac']
176176
# Extra Debian packages that are needed in the webimage can be added here
177177
178-
# dbimage_extra_packages: [telnet,netcat]
178+
# dbimage_extra_packages: [netcat, telnet, sudo]
179179
# Extra Debian packages that are needed in the dbimage can be added here
180180
181181
# use_dns_when_possible: true

0 commit comments

Comments
 (0)