Skip to content

Commit 10dd219

Browse files
PHP: Release 8.2 & EOL 7.4 (#259)
* PHP: Release 8.2 & EOL 7.4 * update readme
1 parent fbc50fe commit 10dd219

File tree

3 files changed

+30
-34
lines changed

3 files changed

+30
-34
lines changed

src/php/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# [Choice] PHP version (use -bullseye variants on local arm64/Apple Silicon): 8-apache-bullseye, 8.1-apache-bullseye, 8.0-apache-bullseye, 7-apache-bullseye, 7.4-apache-bullseye, 8-apache-buster, 8.1-apache-buster, 8.0-apache-buster, 7-apache-buster, 7.4-apache-buster
2-
ARG VARIANT=7-apache-bullseye
1+
# [Choice] PHP version (use -bullseye variants on local arm64/Apple Silicon): 8-apache-bullseye, 8.2-apache-bullseye, 8.1-apache-bullseye, 8.0-apache-bullseye, 8-apache-buster, 8.2-apache-buster, 8.1-apache-buster, 8.0-apache-buster
2+
ARG VARIANT=8.2-apache-bullseye
33
FROM php:${VARIANT}
44

55
# Install xdebug

src/php/README.md

Lines changed: 6 additions & 7 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-bullseye, 8.1 / 8.1-bullseye, 8.0 / 8.0-bullseye, 7 / 7-bullseye, 7.4 / 7.4-bullseye, 8-buster, 8.1-buster, 8.0-buster, 7-buster, 7.5-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/php/tags/list)) |
12+
| *Available image variants* | 8 / 8-bullseye, 8.2 / 8.2-bullseye, 8.1 / 8.1-bullseye, 8.0 / 8.0-bullseye, 8-buster, 8.2-buster, 8.1-buster, 8.0-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/php/tags/list)) |
1313
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bullseye` variants |
1414
| *Container host OS support* | Linux, macOS, Windows |
1515
| *Container OS* | Debian |
@@ -23,18 +23,17 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
2323

2424
- `mcr.microsoft.com/devcontainers/php` (latest)
2525
- `mcr.microsoft.com/devcontainers/php:8` (or `8-bullseye`, `8-buster` to pin to an OS version)
26+
- `mcr.microsoft.com/devcontainers/php:8.2` (or `8.2-bullseye`, `8.2-buster` to pin to an OS version)
2627
- `mcr.microsoft.com/devcontainers/php:8.1` (or `8.1-bullseye`, `8.1-buster` to pin to an OS version)
2728
- `mcr.microsoft.com/devcontainers/php:8.0` (or `8.0-bullseye`, `8.0-buster` to pin to an OS version)
28-
- `mcr.microsoft.com/devcontainers/php:7` (or `7-bullseye`, `7-buster` to pin to an OS version)
29-
- `mcr.microsoft.com/devcontainers/php:7.4` (or `7.4-bullseye`, `7.4-buster` to pin to an OS version)
3029

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

33-
- `mcr.microsoft.com/devcontainers/php:0-7` (or `0-7-bullseye`, `0-7-buster`)
34-
- `mcr.microsoft.com/devcontainers/php:0.203-7` (or `0.203-7-bullseye`, `0.203-7-buster`)
35-
- `mcr.microsoft.com/devcontainers/php:0.203.3-7` (or `0.203.3-7-bullseye`, `0.203.3-7-buster`)
32+
- `mcr.microsoft.com/devcontainers/php:0-8` (or `0-8-bullseye`, `0-8-buster`)
33+
- `mcr.microsoft.com/devcontainers/php:0.203-8` (or `0.203-8-bullseye`, `0.203-8-buster`)
34+
- `mcr.microsoft.com/devcontainers/php:0.203.3-8` (or `0.203.3-8-bullseye`, `0.203.3-8-buster`)
3635

37-
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. `0-7`). 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.
36+
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. `0-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.
3837

3938
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).
4039

src/php/manifest.json

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,68 @@
11
{
22
"version": "0.203.13",
33
"variants": [
4+
"8.2-apache-bullseye",
45
"8.1-apache-bullseye",
56
"8.0-apache-bullseye",
6-
"7.4-apache-bullseye",
7+
"8.2-apache-buster",
78
"8.1-apache-buster",
8-
"8.0-apache-buster",
9-
"7.4-apache-buster"
9+
"8.0-apache-buster"
1010
],
1111
"build": {
12-
"latest": "8.1-apache-bullseye",
12+
"latest": "8.2-apache-bullseye",
1313
"rootDistro": "debian",
1414
"architectures": {
15-
"8.1-apache-bullseye": [
15+
"8.2-apache-bullseye": [
1616
"linux/amd64",
1717
"linux/arm64"
1818
],
19-
"8.0-apache-bullseye": [
19+
"8.1-apache-bullseye": [
2020
"linux/amd64",
2121
"linux/arm64"
2222
],
23-
"7.4-apache-bullseye": [
23+
"8.0-apache-bullseye": [
2424
"linux/amd64",
2525
"linux/arm64"
2626
],
27-
"8.1-apache-buster": [
27+
"8.2-apache-buster": [
2828
"linux/amd64"
2929
],
30-
"8.0-apache-buster": [
30+
"8.1-apache-buster": [
3131
"linux/amd64"
3232
],
33-
"7.4-apache-buster": [
33+
"8.0-apache-buster": [
3434
"linux/amd64"
3535
]
3636
},
3737
"tags": [
3838
"php:${VERSION}-${VARIANT}"
3939
],
4040
"variantTags": {
41-
"8.1-apache-bullseye": [
41+
"8.2-apache-bullseye": [
4242
"php:${VERSION}-8",
43-
"php:${VERSION}-8.1",
43+
"php:${VERSION}-8.2",
4444
"php:${VERSION}-8-bullseye",
45-
"php:${VERSION}-8.1-bullseye",
45+
"php:${VERSION}-8.2-bullseye",
4646
"php:${VERSION}-bullseye"
4747
],
48+
"8.1-apache-bullseye": [
49+
"php:${VERSION}-8.1",
50+
"php:${VERSION}-8.1-bullseye"
51+
],
4852
"8.0-apache-bullseye": [
4953
"php:${VERSION}-8.0",
5054
"php:${VERSION}-8.0-bullseye"
5155
],
52-
"7.4-apache-bullseye": [
53-
"php:${VERSION}-7",
54-
"php:${VERSION}-7-bullseye",
55-
"php:${VERSION}-7.4",
56-
"php:${VERSION}-7.4-bullseye"
57-
],
58-
"8.1-apache-buster": [
56+
"8.2-apache-buster": [
5957
"php:${VERSION}-8-buster",
60-
"php:${VERSION}-8.1-buster",
58+
"php:${VERSION}-8.2-buster",
6159
"php:${VERSION}-buster"
6260
],
61+
"8.1-apache-buster": [
62+
"php:${VERSION}-8.1-buster"
63+
],
6364
"8.0-apache-buster": [
6465
"php:${VERSION}-8.0-buster"
65-
],
66-
"7.4-apache-buster": [
67-
"php:${VERSION}-7-buster",
68-
"php:${VERSION}-7.4-buster"
6966
]
7067
}
7168
},

0 commit comments

Comments
 (0)