Skip to content

Commit

Permalink
fix: try to use distroless as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Nov 22, 2024
1 parent d0486a2 commit 13a26b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nitro_enclave/amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY src ./src
COPY Cargo.toml Cargo.lock ./
RUN cargo build --release --locked -p ic_tee_nitro_gateway

FROM gcr.io/distroless/cc-debian12:latest AS runtime
FROM gcr.io/distroless/cc-debian12:debug AS runtime

# working directory
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion nitro_enclave/arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY src ./src
COPY Cargo.toml Cargo.lock ./
RUN cargo build --release --locked -p ic_tee_nitro_gateway

FROM --platform=linux/amd64 gcr.io/distroless/cc-debian12:latest AS runtime
FROM --platform=linux/amd64 gcr.io/distroless/cc-debian12:debug AS runtime

# working directory
WORKDIR /app
Expand Down

0 comments on commit 13a26b6

Please sign in to comment.