Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,22 @@ bazel_dep(name = "rules_distroless", version = "0.5.3")
bazel_dep(name = "aspect_bazel_lib", version = "2.21.1")
bazel_dep(name = "chrome-linux-sysroot", version = "0.0.3")

# git_override(
# module_name = "rules_distroless",
# commit = "f994712f6bd573b3d50b207ae5fa3df077caed67",
# remote = "https://github.com/GoogleContainerTools/rules_distroless.git",
# )
git_override(
module_name = "rules_distroless",
commit = "a9e67d187351f9687c59418c6ce323173278c221",
remote = "https://github.com/birunts/rules_distroless.git",
)

PHP_VERSIONS = [
"7.2",
"7.4",
"8.3",
"8.4",
"8.5",
]

http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "ca-certificates",
build_file_content = 'exports_files(["data.tar.xz", "control.tar.xz"])',
Expand All @@ -47,13 +49,11 @@ apt = use_extension(
"@rules_distroless//apt:extensions.bzl",
"apt",
)

apt.install(
name = "php-common",
lock = "//php:common.lock.json",
manifest = "//php:common.yaml",
)

apt.install(
name = "php-wkhtmltopdf",
lock = "//php:wkhtmltopdf.lock.json",
Expand All @@ -72,5 +72,4 @@ apt.install(
manifest = "//nginx:bookworm.yaml",
resolve_transitive = False,
)

use_repo(apt, "nginx-bookworm", "php-common", "php-wkhtmltopdf", "php-7.2", "php-7.4", "php-8.3", "php-8.4")
use_repo(apt, "nginx-bookworm", "php-7.2", "php-7.4", "php-8.3", "php-8.4", "php-8.5", "php-common", "php-wkhtmltopdf")
582 changes: 254 additions & 328 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ bazel run @php-7.2//:lock
bazel run @php-7.4//:lock
bazel run @php-8.3//:lock
bazel run @php-8.4//:lock
bazel run @php-8.5//:lock
bazel run @nginx-bookworm//:lock
```

Expand Down
36 changes: 18 additions & 18 deletions nginx/bookworm.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{
"arch": "amd64",
"dependencies": [],
"key": "nginx_1.22.1-9-p-deb12u3_amd64",
"key": "nginx_1.22.1-9-p-deb12u4_amd64",
"name": "nginx",
"sha256": "cba42902e1c113fdadfdd45dd33e55a42771bdbfc072e774612234782bdc0aae",
"sha256": "c5aa019e3257d39501fa39b91383585d76c75c30af75be95070ee75191afdbed",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/n/nginx/nginx_1.22.1-9+deb12u3_amd64.deb"
"https://snapshot.debian.org/archive/debian-security/20260212T194631Z/pool/updates/main/n/nginx/nginx_1.22.1-9+deb12u4_amd64.deb"
],
"version": "1.22.1-9+deb12u3"
"version": "1.22.1-9+deb12u4"
},
{
"arch": "amd64",
Expand All @@ -18,7 +18,7 @@
"name": "libc6",
"sha256": "3d8072c73b017e907bbf44b7db870687888a991961d74f1ecbba6b9458f32a2c",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/g/glibc/libc6_2.36-9+deb12u13_amd64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/g/glibc/libc6_2.36-9+deb12u13_amd64.deb"
],
"version": "2.36-9+deb12u13"
},
Expand All @@ -29,7 +29,7 @@
"name": "libcrypt1",
"sha256": "f5f60a5cdfd4e4eaa9438ade5078a57741a7a78d659fcb0c701204f523e8bd29",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_amd64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_amd64.deb"
],
"version": "1:4.4.33-2"
},
Expand All @@ -40,7 +40,7 @@
"name": "libpcre2-8-0",
"sha256": "030db54f4d76cdfe2bf0e8eb5f9efea0233ab3c7aa942d672c7b63b52dbaf935",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/p/pcre2/libpcre2-8-0_10.42-1_amd64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/p/pcre2/libpcre2-8-0_10.42-1_amd64.deb"
],
"version": "10.42-1"
},
Expand All @@ -51,7 +51,7 @@
"name": "libssl3",
"sha256": "ed44f11b74763cded2ad406f4de4d585ea27b0ce6377e7c8d98c2ddf2ed35cb3",
"urls": [
"https://snapshot.debian.org/archive/debian-security/20260209T193433Z/pool/updates/main/o/openssl/libssl3_3.0.18-1~deb12u2_amd64.deb"
"https://snapshot.debian.org/archive/debian-security/20260212T194631Z/pool/updates/main/o/openssl/libssl3_3.0.18-1~deb12u2_amd64.deb"
],
"version": "3.0.18-1~deb12u2"
},
Expand All @@ -62,20 +62,20 @@
"name": "zlib1g",
"sha256": "d7dd1d1411fedf27f5e27650a6eff20ef294077b568f4c8c5e51466dc7c08ce4",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/z/zlib/zlib1g_1.2.13.dfsg-1_amd64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/z/zlib/zlib1g_1.2.13.dfsg-1_amd64.deb"
],
"version": "1:1.2.13.dfsg-1"
},
{
"arch": "arm64",
"dependencies": [],
"key": "nginx_1.22.1-9-p-deb12u3_arm64",
"key": "nginx_1.22.1-9-p-deb12u4_arm64",
"name": "nginx",
"sha256": "8e5af919283a233315125e97e179240460b6076ba695c7ef766619ff6c2eb06f",
"sha256": "bc53ff1a219429eaf906aae19ba872f8dcab2129de51650d980a9a5f9bce89b4",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/n/nginx/nginx_1.22.1-9+deb12u3_arm64.deb"
"https://snapshot.debian.org/archive/debian-security/20260212T194631Z/pool/updates/main/n/nginx/nginx_1.22.1-9+deb12u4_arm64.deb"
],
"version": "1.22.1-9+deb12u3"
"version": "1.22.1-9+deb12u4"
},
{
"arch": "arm64",
Expand All @@ -84,7 +84,7 @@
"name": "libc6",
"sha256": "03c3909c47a6df9f6f05357474efefca9bc30212069135a7c354fa78a1ec2415",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/g/glibc/libc6_2.36-9+deb12u13_arm64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/g/glibc/libc6_2.36-9+deb12u13_arm64.deb"
],
"version": "2.36-9+deb12u13"
},
Expand All @@ -95,7 +95,7 @@
"name": "libcrypt1",
"sha256": "eea0ad76ea5eb507127fea0c291622ea4ecdbb71c4b9a8ed9c76ae33fc1a0127",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_arm64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/libx/libxcrypt/libcrypt1_4.4.33-2_arm64.deb"
],
"version": "1:4.4.33-2"
},
Expand All @@ -106,7 +106,7 @@
"name": "libpcre2-8-0",
"sha256": "b2448d0a8a3db7fbeac231e7ef93811346c1fb5f96ccf6f631701d8a4eb39206",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/p/pcre2/libpcre2-8-0_10.42-1_arm64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/p/pcre2/libpcre2-8-0_10.42-1_arm64.deb"
],
"version": "10.42-1"
},
Expand All @@ -117,7 +117,7 @@
"name": "libssl3",
"sha256": "30b2d6c27fd4a2f5ef554ac3b86c96e8a3abbbfb454c6dbe7e308ce9df36f8c5",
"urls": [
"https://snapshot.debian.org/archive/debian-security/20260209T193433Z/pool/updates/main/o/openssl/libssl3_3.0.18-1~deb12u2_arm64.deb"
"https://snapshot.debian.org/archive/debian-security/20260212T194631Z/pool/updates/main/o/openssl/libssl3_3.0.18-1~deb12u2_arm64.deb"
],
"version": "3.0.18-1~deb12u2"
},
Expand All @@ -128,7 +128,7 @@
"name": "zlib1g",
"sha256": "52b8b8a145bbe1956bba82034f77022cbef0c3d0885c9e32d9817a7932fe1913",
"urls": [
"https://snapshot.debian.org/archive/debian/20260210T022610Z/pool/main/z/zlib/zlib1g_1.2.13.dfsg-1_arm64.deb"
"https://snapshot.debian.org/archive/debian/20260213T083951Z/pool/main/z/zlib/zlib1g_1.2.13.dfsg-1_arm64.deb"
],
"version": "1:1.2.13.dfsg-1"
}
Expand Down
6 changes: 3 additions & 3 deletions nginx/bookworm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ version: 1

sources:
- channel: bookworm main contrib
url: https://snapshot.debian.org/archive/debian/20260210T022610Z
url: https://snapshot.debian.org/archive/debian/20260213T083951Z
- channel: bookworm-security main
url: https://snapshot.debian.org/archive/debian-security/20260209T193433Z
url: https://snapshot.debian.org/archive/debian-security/20260212T194631Z
- channel: bookworm-updates main
url: https://snapshot.debian.org/archive/debian/20260210T022610Z
url: https://snapshot.debian.org/archive/debian/20260213T083951Z

archs:
- "amd64"
Expand Down
Loading
Loading