Skip to content

Commit

Permalink
re-add openssl dep to gRPC bindings, revert apt-get changes in docker…
Browse files Browse the repository at this point in the history
… build
  • Loading branch information
wulfraem committed Nov 27, 2024
1 parent 3488e76 commit 77380af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions bindings/grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ identity_storage = { path = "../../identity_storage", features = ["memstore"] }
identity_stronghold = { path = "../../identity_stronghold", features = ["send-sync-storage"] }
iota-sdk = { git = "https://github.com/iotaledger/iota.git", package = "iota-sdk", rev = "39c83ddcf07894cdee2abd146381d8704205e6e9" }
iota-sdk-legacy = { package = "iota-sdk", version = "1.1.2", features = ["stronghold"] }
openssl = { version = "0.10", features = ["vendored"] } # this is not an unused dependency but required for the docker build
prost = "0.13"
rand = "0.8.5"
serde = { version = "1.0", features = ["derive", "alloc"] }
Expand Down
6 changes: 1 addition & 5 deletions bindings/grpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
FROM rust:bookworm as builder

# update packages
RUN apt-get update
# install protobuf
RUN apt-get install -y protobuf-compiler libprotobuf-dev musl-tools
# install openssl dev dependencies
RUN apt-get install -y libssl-dev
RUN apt-get update && apt-get install -y protobuf-compiler libprotobuf-dev musl-tools

COPY . /usr/src/app/
WORKDIR /usr/src/app/bindings/grpc
Expand Down

0 comments on commit 77380af

Please sign in to comment.