Skip to content

Commit e49e3b6

Browse files
Jekyll: Debian:bookworm support (#638)
* jekyll * fix test
1 parent 9f63468 commit e49e3b6

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

src/jekyll/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# [Choice] Debian OS version (use 3.2-bullseye on local arm64/Apple Silicon): 3.2-bullseye, 3.2-buster
2-
ARG VARIANT=3.2-bullseye
1+
# [Choice] Debian OS version (use 3.2-bookworm, or 3.2-bullseye on local arm64/Apple Silicon): 3.2-bookworm, 3.2-bullseye, 3.2-buster
2+
ARG VARIANT=3.2-bookworm
33
FROM mcr.microsoft.com/devcontainers/ruby:${VARIANT}
44

55
USER root

src/jekyll/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
| *Categories* | Community, Languages, Frameworks |
1010
| *Image type* | Dockerfile |
1111
| *Published images* | mcr.microsoft.com/devcontainers/jekyll |
12-
| *Available image variants* | bullseye, buster ([full list](https://mcr.microsoft.com/v2/devcontainers/jekyll/tags/list)) |
13-
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bullseye` variant |
12+
| *Available image variants* | bookworm, bullseye, buster ([full list](https://mcr.microsoft.com/v2/devcontainers/jekyll/tags/list)) |
13+
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variant |
1414
| *Container host OS support* | Linux, macOS, Windows |
1515
| *Container OS* | Debian |
1616
| *Languages, platforms* | Ruby, Jekyll |
@@ -30,16 +30,17 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
3030

3131

3232
- `mcr.microsoft.com/devcontainers/jekyll` (latest)
33+
- `mcr.microsoft.com/devcontainers/jekyll:bookworm`
3334
- `mcr.microsoft.com/devcontainers/jekyll:bullseye`
3435
- `mcr.microsoft.com/devcontainers/jekyll:buster`
3536

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

38-
- `mcr.microsoft.com/devcontainers/jekyll:1` (or `1-bullseye`, `1-buster` to pin to an OS version)
39-
- `mcr.microsoft.com/devcontainers/jekyll:1.0` (or `1.0-bullseye`, `1.0-buster` to pin to an OS version)
40-
- `mcr.microsoft.com/devcontainers/jekyll:1.0.0` (or `1.0.0-bullseye`, `1.0.0-buster` to pin to an OS version)
39+
- `mcr.microsoft.com/devcontainers/jekyll:2` (or `2-bookworm`, `2-bullseye`, `2-buster` to pin to an OS version)
40+
- `mcr.microsoft.com/devcontainers/jekyll:2.0` (or `2.0-bookworm`, `2.0-bullseye`, `2.0-buster` to pin to an OS version)
41+
- `mcr.microsoft.com/devcontainers/jekyll:2.0.0` (or `2.0.0-bookworm`, `2.0.0-bullseye`, `2.0.0-buster` to pin to an OS version)
4142

42-
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-bullseye`). 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.
43+
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-bullseye`). 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.
4344

4445
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/jekyll/tags/list).
4546

src/jekyll/manifest.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{
22
"version": "1.0.2",
33
"variants": [
4+
"3.2-bookworm",
45
"3.2-bullseye",
56
"3.2-buster"
67
],
78
"build": {
8-
"latest": "3.2-bullseye",
9+
"latest": "3.2-bookworm",
910
"parent": "ruby",
1011
"rootDistro": "debian",
1112
"architectures": {
13+
"3.2-bookworm": [
14+
"linux/amd64",
15+
"linux/arm64"
16+
],
1217
"3.2-bullseye": [
1318
"linux/amd64",
1419
"linux/arm64"
@@ -21,8 +26,11 @@
2126
"jekyll:${VERSION}-${VARIANT}"
2227
],
2328
"variantTags": {
24-
"3.2-bullseye": [
29+
"3.2-bookworm": [
2530
"jekyll:${VERSION}",
31+
"jekyll:${VERSION}-bookworm"
32+
],
33+
"3.2-bullseye": [
2634
"jekyll:${VERSION}-bullseye"
2735
],
2836
"3.2-buster": [

src/jekyll/test-project/test-utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ checkCommon()
126126
libc6 \
127127
libgcc1 \
128128
libgssapi-krb5-2 \
129-
liblttng-ust0 \
129+
liblttng-ust1 \
130130
libstdc++6 \
131131
zlib1g \
132132
locales \

0 commit comments

Comments
 (0)