Skip to content

Commit f793f54

Browse files
committed
fix docker file
1 parent c2fbf5d commit f793f54

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FROM rust:1.88 AS base
1313
ARG TARGETPLATFORM
1414

1515
RUN apt-get update \
16-
&& apt-get install -y clang libclang-dev
16+
&& apt-get install -y clang libclang-dev libtss2-dev
1717

1818
RUN rustup component add clippy rustfmt
1919

crates/tdx-quote-provider/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ metrics-exporter-prometheus = { version = "0.17.0", features = [
2727
"http-listener",
2828
] }
2929
tracing-subscriber = { version = "0.3.11", features = ["env-filter", "json"] }
30-
# TODO: this deps routes to https://github.com/avalonche/tdx-attestation-sdk/tree/avalonche/update-alloy, replace it once https://github.com/automata-network/tdx-attestation-sdk/pull/32 is merged
31-
tdx = { git = "https://github.com/avalonche/tdx-attestation-sdk.git", features = ["configfs"], rev = "edfe4cf572bd4801286056673841546989a5c6ed"}
30+
tdx = { git = "https://github.com/automata-network/tdx-attestation-sdk.git", features = ["configfs"], branch = "main"}
3231

3332
[dev-dependencies]
3433
reqwest.workspace = true

crates/tdx-quote-provider/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ ARG FEATURES
77

88
COPY . .
99

10-
RUN apt-get update && apt-get install -y clang libclang-dev libtss2-dev
10+
RUN apt-get update && apt-get install -y libssl3 libtss2-dev
1111

1212
RUN cargo build --release --features="$FEATURES" --package=${BINARY}
1313

14-
FROM gcr.io/distroless/cc-debian12
14+
FROM debian:12-slim
1515
WORKDIR /app
1616

17+
# Install runtime dependencies
18+
RUN apt-get update && apt-get install -y libssl3 libtss2-dev
19+
1720
ARG BINARY="tdx-quote-provider"
1821
COPY --from=builder /app/target/release/${BINARY} /usr/local/bin/
1922

0 commit comments

Comments
 (0)