mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 13:28:01 -05:00
Docker fix: Update bazel-lib to latest version (#14579)
* Update bazel-lib
* Update rules_oci
* Compress pkg_tar
* Add a note about 401 download for distroless/cc-debian11
* Update CHANGELOG.md
* Re-upload distroless/cc-debian11 to prysmaticlabs/distroless/cc-debian11 such that the image is public.
Ran the following command:
gcrane cp 'gcr.io/distroless/cc-debian11@sha256:b82f113425c5b5c714151aaacd8039bc141821cdcd3c65202d42bdf9c43ae60b' gcr.io/prysmaticlabs/distroless/cc-debian11:latest
* Back out "Update rules_oci"
This backs out commit 64200fb25e.
This commit is contained in:
@@ -43,6 +43,8 @@ The format is based on Keep a Changelog, and this project adheres to Semantic Ve
|
|||||||
- Fixed mesh size by appending `gParams.Dhi = gossipSubDhi`
|
- Fixed mesh size by appending `gParams.Dhi = gossipSubDhi`
|
||||||
- Fix skipping partial withdrawals count.
|
- Fix skipping partial withdrawals count.
|
||||||
- wait for the async StreamEvent writer to exit before leaving the http handler, avoiding race condition panics [pr](https://github.com/prysmaticlabs/prysm/pull/14557)
|
- wait for the async StreamEvent writer to exit before leaving the http handler, avoiding race condition panics [pr](https://github.com/prysmaticlabs/prysm/pull/14557)
|
||||||
|
- Certain deb files were returning a 404 which made building new docker images without an existing
|
||||||
|
cache impossible. This has been fixed with updates to rules_oci and bazel-lib.
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|||||||
@@ -101,9 +101,9 @@ http_archive(
|
|||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "aspect_bazel_lib",
|
name = "aspect_bazel_lib",
|
||||||
sha256 = "f5ea76682b209cc0bd90d0f5a3b26d2f7a6a2885f0c5f615e72913f4805dbb0d",
|
sha256 = "a272d79bb0ac6b6965aa199b1f84333413452e87f043b53eca7f347a23a478e8",
|
||||||
strip_prefix = "bazel-lib-2.5.0",
|
strip_prefix = "bazel-lib-2.9.3",
|
||||||
url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.5.0/bazel-lib-v2.5.0.tar.gz",
|
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.3/bazel-lib-v2.9.3.tar.gz",
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
|
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
|
||||||
@@ -165,7 +165,7 @@ load("@rules_oci//oci:pull.bzl", "oci_pull")
|
|||||||
oci_pull(
|
oci_pull(
|
||||||
name = "linux_debian11_multiarch_base", # Debian bullseye
|
name = "linux_debian11_multiarch_base", # Debian bullseye
|
||||||
digest = "sha256:b82f113425c5b5c714151aaacd8039bc141821cdcd3c65202d42bdf9c43ae60b", # 2023-12-12
|
digest = "sha256:b82f113425c5b5c714151aaacd8039bc141821cdcd3c65202d42bdf9c43ae60b", # 2023-12-12
|
||||||
image = "gcr.io/distroless/cc-debian11",
|
image = "gcr.io/prysmaticlabs/distroless/cc-debian11",
|
||||||
platforms = [
|
platforms = [
|
||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
"linux/arm64/v8",
|
"linux/arm64/v8",
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ def prysm_image_upload(
|
|||||||
srcs = [binary],
|
srcs = [binary],
|
||||||
symlinks = symlinks,
|
symlinks = symlinks,
|
||||||
tags = tags,
|
tags = tags,
|
||||||
|
extension = "tar.gz",
|
||||||
)
|
)
|
||||||
|
|
||||||
oci_image(
|
oci_image(
|
||||||
|
|||||||
Reference in New Issue
Block a user