Skip to content

Commit

Permalink
Upgrade dockerfile runtime version cc-debian-12
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo committed Sep 22, 2023
1 parent 801cc84 commit 56d9403
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace.package]
version = "0.4.11"
version = "0.4.12"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/amphitheatre-app/amphitheatre"
Expand All @@ -8,6 +8,7 @@ authors = [
]

[workspace]
resolver = "2"
members = [
"apiserver",
"controllers",
Expand Down
2 changes: 1 addition & 1 deletion apiserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN cargo build --release --bin amp-apiserver
# 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 \
Expand Down
2 changes: 1 addition & 1 deletion controllers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN cargo build --release --bin amp-controllers
# 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 \
Expand Down

0 comments on commit 56d9403

Please sign in to comment.