Skip to content

Commit bc5135d

Browse files
committed
chore(pack-images): upgrade to bookworm
1 parent 5a7ba47 commit bc5135d

15 files changed

Lines changed: 33 additions & 30 deletions

.woodpecker/build-linux-buildpacks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pipeline:
2525
- export PACK_HOME=$CI_WORKSPACE
2626
- make publish-buildpack
2727
environment:
28-
CODENAME: bullseye
28+
CODENAME: bookworm
2929
secrets:
3030
- dev_registry
3131
- drycc_registry

.woodpecker/build-linux-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pipeline:
1313
image: bash
1414
commands:
1515
- echo $CONTAINER_PASSWORD | docker login $DRYCC_REGISTRY --username $CONTAINER_USERNAME --password-stdin > /dev/null 2>&1
16-
- CODENAME=bullseye make publish-pack
16+
- CODENAME=bookworm make publish-pack
1717
secrets:
1818
- dev_registry
1919
- drycc_registry

.woodpecker/manifest-buildpacks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ pipeline:
88
image: bash
99
commands:
1010
- sed -i "s/registry.drycc.cc/$${DRYCC_REGISTRY}/g" .woodpecker/manifest-buildpacks.tmpl
11-
- sed -i "s/{{codename}}/bullseye/g" .woodpecker/manifest-buildpacks.tmpl
11+
- sed -i "s/{{codename}}/bookworm/g" .woodpecker/manifest-buildpacks.tmpl
1212
environment:
13-
CODENAME: bullseye
13+
CODENAME: bookworm
1414
secrets:
1515
- dev_registry
1616
- drycc_registry

.woodpecker/manifest-pack.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ pipeline:
99
commands:
1010
- sed -i "s/registry.drycc.cc/$${DRYCC_REGISTRY}/g" .woodpecker/manifest-run.tmpl
1111
- sed -i "s/registry.drycc.cc/$${DRYCC_REGISTRY}/g" .woodpecker/manifest-build.tmpl
12-
- sed -i "s/{{codename}}/bullseye/g" .woodpecker/manifest-run.tmpl
13-
- sed -i "s/{{codename}}/bullseye/g" .woodpecker/manifest-build.tmpl
12+
- sed -i "s/{{codename}}/$${CODENAME}/g" .woodpecker/manifest-run.tmpl
13+
- sed -i "s/{{codename}}/$${CODENAME}/g" .woodpecker/manifest-build.tmpl
14+
environment:
15+
CODENAME: bookworm
1416
secrets:
1517
- dev_registry
1618
- drycc_registry

.woodpecker/test-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pipeline:
1414
commands:
1515
- CODENAME=$${CODENAME} make test-style
1616
environment:
17-
CODENAME: bullseye
17+
CODENAME: bookworm
1818
secrets:
1919
- dev_registry
2020
- codecov_token

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# If DRYCC_REGISTRY is not set, try to populate it from legacy DEV_REGISTRY
2-
CODENAME ?= bullseye
2+
CODENAME ?= bookworm
33
DEV_REGISTRY ?= registry.drycc.cc
44
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
55
PLATFORM ?= $(shell python3 _scripts/utils.py platform)

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@ This repository is responsible for building and publishing images that builds
66
with [Cloud Native Buildpacks'](https://buildpacks.io)
77
[`pack`](https://github.com/buildpacks/pack) command.
88

9-
* [drycc/pack:bullseye](https://hub.docker.com/r/drycc/pack/tags/) - A CNB
10-
compatible run image based on drycc/pack:bullseye
11-
* [drycc/pack:bullseye-build](https://hub.docker.com/r/drycc/pack/tags/) - A CNB
12-
compatible build image based on drycc/pack:bullseye-build
9+
* [drycc/pack:bookworm](https://hub.docker.com/r/drycc/pack/tags/) - A CNB
10+
compatible run image based on drycc/pack:bookworm
11+
* [drycc/pack:bookworm-build](https://hub.docker.com/r/drycc/pack/tags/) - A CNB
12+
compatible build image based on drycc/pack:bookworm-build
1313

1414
## Usage
1515

16-
`pack build myapp --builder drycc/buildpacks:bullseye`
16+
`pack build myapp --builder drycc/buildpacks:bookworm`
1717

1818
## System
1919

2020
The basic image is based on Debian system, See the table below for system description:
2121

2222
STACK ID | Buildpacks image | Operating System
2323
----------------|---------------------------------------------|---------------------------------
24-
drycc-bullseye | registry.drycc.cc/drycc/buildpacks:bullseye | Debian 11 Bullseye
24+
drycc-bookworm | registry.drycc.cc/drycc/buildpacks:bookworm | Debian 11 bookworm
2525

2626
The basic layer of buildpack supports custom software sources and custom software.
2727
For example, if we use alicloud to install libpq-dev, we can add `.deb-list` and `·source-list` files to the project.
2828

2929
```
3030
cat > ".source-list" <<EOL
31-
deb http://mirrors.cloud.aliyuncs.com/debian/ bullseye main non-free contrib
32-
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bullseye main non-free contrib
33-
deb http://mirrors.cloud.aliyuncs.com/debian-security bullseye/updates main
34-
deb-src http://mirrors.cloud.aliyuncs.com/debian-security bullseye/updates main
35-
deb http://mirrors.cloud.aliyuncs.com/debian/ bullseye-updates main non-free contrib
36-
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bullseye-updates main non-free contrib
37-
deb http://mirrors.cloud.aliyuncs.com/debian/ bullseye-backports main non-free contrib
38-
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bullseye-backports main non-free contrib
31+
deb http://mirrors.cloud.aliyuncs.com/debian/ bookworm main non-free contrib
32+
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bookworm main non-free contrib
33+
deb http://mirrors.cloud.aliyuncs.com/debian-security bookworm/updates main
34+
deb-src http://mirrors.cloud.aliyuncs.com/debian-security bookworm/updates main
35+
deb http://mirrors.cloud.aliyuncs.com/debian/ bookworm-updates main non-free contrib
36+
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bookworm-updates main non-free contrib
37+
deb http://mirrors.cloud.aliyuncs.com/debian/ bookworm-backports main non-free contrib
38+
deb-src http://mirrors.cloud.aliyuncs.com/debian/ bookworm-backports main non-free contrib
3939
EOL
4040
4141
cat > ".deb-list" <<EOL

buildpacks/go/buildpack.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ homepage = "https://github.com/drycc/pack-images/tree/main/buildpacks/go"
1010

1111
# Stacks that the buildpack will work with
1212
[[stacks]]
13-
id = "drycc-bullseye"
13+
id = "drycc-bookworm"

buildpacks/java/buildpack.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ homepage = "https://github.com/drycc/pack-images/tree/main/buildpacks/java"
1010

1111
# Stacks that the buildpack will work with
1212
[[stacks]]
13-
id = "drycc-bullseye"
13+
id = "drycc-bookworm"

buildpacks/node/buildpack.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ homepage = "https://github.com/drycc/pack-images/tree/main/buildpacks/node"
1010

1111
# Stacks that the buildpack will work with
1212
[[stacks]]
13-
id = "drycc-bullseye"
13+
id = "drycc-bookworm"

0 commit comments

Comments
 (0)