From 79a963949552b3fcd0daef1d4f25d7f63afdac31 Mon Sep 17 00:00:00 2001 From: Eguo Wang Date: Thu, 12 Oct 2023 19:57:27 +0800 Subject: [PATCH] Fix amp-syncer image not found GLIBC error --- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- syncer/Dockerfile | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cc57c50..6a41476 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,7 +61,7 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "amp-apiserver" -version = "0.5.8" +version = "0.5.9" dependencies = [ "amp-common", "amp-resources", @@ -122,7 +122,7 @@ dependencies = [ [[package]] name = "amp-controllers" -version = "0.5.8" +version = "0.5.9" dependencies = [ "amp-common", "amp-resolver", @@ -159,7 +159,7 @@ dependencies = [ [[package]] name = "amp-resolver" -version = "0.5.8" +version = "0.5.9" dependencies = [ "amp-common", "amp-resources", @@ -173,7 +173,7 @@ dependencies = [ [[package]] name = "amp-resources" -version = "0.5.8" +version = "0.5.9" dependencies = [ "amp-common", "k8s-metrics", @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "amp-syncer" -version = "0.5.8" +version = "0.5.9" dependencies = [ "amp-common", "async-nats", diff --git a/Cargo.toml b/Cargo.toml index 78ebd5b..3ff261b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.5.8" +version = "0.5.9" edition = "2021" license = "Apache-2.0" repository = "https://github.com/amphitheatre-app/amphitheatre" diff --git a/syncer/Dockerfile b/syncer/Dockerfile index 464e9a2..c9dbdec 100644 --- a/syncer/Dockerfile +++ b/syncer/Dockerfile @@ -49,7 +49,7 @@ RUN cargo build --release --bin amp-syncer # the smallest image possible. This often means using a different and smaller # image than the one used for building the application, but for illustrative # purposes the "base" image is used here. -FROM gcr.io/distroless/cc:nonroot AS runtime +FROM gcr.io/distroless/cc-debian12:nonroot AS runtime # Copy the executable from the "building" stage. COPY --from=builder \