Skip to content

Commit 8e9e61a

Browse files
authored
Merge branch 'main' into universal-vulnerability-issues-fix
2 parents 1405d00 + 7c16165 commit 8e9e61a

File tree

3 files changed

+41
-15
lines changed

3 files changed

+41
-15
lines changed

src/php/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT=8.4-apache-bookworm
1+
ARG VARIANT=8.4-apache-trixie
22
FROM php:${VARIANT}
33

44
# Install xdebug

src/php/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| *Categories* | Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published images* | mcr.microsoft.com/devcontainers/php |
12-
| *Available image variants* | 8 / 8-bookworm, 8.4 / 8.4-bookworm, 8.3 / 8.3-bookworm, 8.2 / 8.2-bookworm, 8-bullseye, 8.4-bullseye,,8.3-bullseye, 8.2-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/php/tags/list)) |
12+
| *Available image variants* | 8 / 8-trixie, 8.4 / 8.4-trixie, 8.3 / 8.3-trixie, 8.2 / 8.2-trixie, 8-bookworm, 8.4-bookworm, 8.3-bookworm, 8.2-bookworm, 8-bullseye, 8.4-bullseye,,8.3-bullseye, 8.2-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/php/tags/list)) |
1313
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants |
1414
| *Container host OS support* | Linux, macOS, Windows |
1515
| *Container OS* | Debian |
@@ -22,20 +22,20 @@ See **[history](history)** for information on the contents of published images.
2222
You can directly reference pre-built versions of `Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` with one of the following:
2323

2424
- `mcr.microsoft.com/devcontainers/php` (latest)
25-
- `mcr.microsoft.com/devcontainers/php:8` (or `8-bookworm`, `8-bullseye` to pin to an OS version)
26-
- `mcr.microsoft.com/devcontainers/php:8.4` (or `8.4-bookworm`, `8.4-bullseye` to pin to an OS version)
27-
- `mcr.microsoft.com/devcontainers/php:8.3` (or `8.3-bookworm`, `8.3-bullseye` to pin to an OS version)
28-
- `mcr.microsoft.com/devcontainers/php:8.2` (or `8.2-bookworm`, `8.2-bullseye` to pin to an OS version)
25+
- `mcr.microsoft.com/devcontainers/php:8` (or `8-trixie`, `8-bookworm`, `8-bullseye` to pin to an OS version)
26+
- `mcr.microsoft.com/devcontainers/php:8.4` (or `8.4-trixie`, `8.4-bookworm`, `8.4-bullseye` to pin to an OS version)
27+
- `mcr.microsoft.com/devcontainers/php:8.3` (or `8.3-trixie`, `8.3-bookworm`, `8.3-bullseye` to pin to an OS version)
28+
- `mcr.microsoft.com/devcontainers/php:8.2` (or `8.2-trixie`, `8.2-bookworm`, `8.2-bullseye` to pin to an OS version)
2929

3030
Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.
3131

3232
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:
3333

34-
- `mcr.microsoft.com/devcontainers/php:1-8` (or `1-8-bookworm`, `1-8-bullseye`)
35-
- `mcr.microsoft.com/devcontainers/php:1.0-8` (or `1.0-8-bookworm`, `1.0-8-bullseye`)
36-
- `mcr.microsoft.com/devcontainers/php:1.0.3-8` (or `1.0.3-8-bookworm`, `1.0.3-8-bullseye`)
34+
- `mcr.microsoft.com/devcontainers/php:2-8` (or `2-8-bookworm`, `2-8-bullseye`)
35+
- `mcr.microsoft.com/devcontainers/php:2.0-8` (or `2.0-8-bookworm`, `2.0-8-bullseye`)
36+
- `mcr.microsoft.com/devcontainers/php:2.0.0-8` (or `2.0.0-8-bookworm`, `2.0.0-8-bullseye`)
3737

38-
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `1-8`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
38+
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `2-8`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
3939

4040
See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/php/tags/list).
4141

src/php/manifest.json

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
2-
"version": "1.3.5",
2+
"version": "2.0.0",
33
"variants": [
4+
"8.4-apache-trixie",
5+
"8.3-apache-trixie",
6+
"8.2-apache-trixie",
47
"8.4-apache-bookworm",
58
"8.3-apache-bookworm",
69
"8.2-apache-bookworm",
@@ -9,9 +12,21 @@
912
"8.2-apache-bullseye"
1013
],
1114
"build": {
12-
"latest": "8.4-apache-bookworm",
15+
"latest": "8.4-apache-trixie",
1316
"rootDistro": "debian",
1417
"architectures": {
18+
"8.4-apache-trixie": [
19+
"linux/amd64",
20+
"linux/arm64"
21+
],
22+
"8.3-apache-trixie": [
23+
"linux/amd64",
24+
"linux/arm64"
25+
],
26+
"8.2-apache-trixie": [
27+
"linux/amd64",
28+
"linux/arm64"
29+
],
1530
"8.4-apache-bookworm": [
1631
"linux/amd64",
1732
"linux/arm64"
@@ -41,19 +56,30 @@
4156
"php:${VERSION}-${VARIANT}"
4257
],
4358
"variantTags": {
44-
"8.4-apache-bookworm": [
59+
"8.4-apache-trixie": [
4560
"php:${VERSION}-8",
4661
"php:${VERSION}-8.4",
62+
"php:${VERSION}-8-trixie",
63+
"php:${VERSION}-8.4-trixie",
64+
"php:${VERSION}-trixie"
65+
],
66+
"8.3-apache-trixie": [
67+
"php:${VERSION}-8.3",
68+
"php:${VERSION}-8.3-trixie"
69+
],
70+
"8.2-apache-trixie": [
71+
"php:${VERSION}-8.2",
72+
"php:${VERSION}-8.2-trixie"
73+
],
74+
"8.4-apache-bookworm": [
4775
"php:${VERSION}-8-bookworm",
4876
"php:${VERSION}-8.4-bookworm",
4977
"php:${VERSION}-bookworm"
5078
],
5179
"8.3-apache-bookworm": [
52-
"php:${VERSION}-8.3",
5380
"php:${VERSION}-8.3-bookworm"
5481
],
5582
"8.2-apache-bookworm": [
56-
"php:${VERSION}-8.2",
5783
"php:${VERSION}-8.2-bookworm"
5884
],
5985
"8.4-apache-bullseye": [

0 commit comments

Comments
 (0)