Skip to content

Commit

Permalink
Merge pull request #16 from MiSArch/remove-protoc
Browse files Browse the repository at this point in the history
Removed unused protobuf dependency
  • Loading branch information
legendofa authored Feb 6, 2024
2 parents 1adcabc + 7737e00 commit 3def2d8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions base-dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ RUN cargo build --release --bin misarch-wishlist
# We do not need the Rust toolchain to run the binary!
FROM debian:bookworm-slim AS runtime

RUN apt update && apt install -y protobuf-compiler && rm -rf /var/lib/apt/lists/*

WORKDIR /misarch-wishlist
COPY --from=builder /misarch-wishlist/target/release/misarch-wishlist /usr/local/bin
ENTRYPOINT ["/usr/local/bin/misarch-wishlist"]
2 changes: 0 additions & 2 deletions dev-dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
FROM rust:1.75-slim-bookworm

RUN apt update && apt install -y protobuf-compiler && rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/misarch-wishlist

COPY . .
Expand Down
2 changes: 0 additions & 2 deletions devcontainer-dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM rust:1.75-slim-bookworm

RUN apt update && apt install -y protobuf-compiler && rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/misarch-wishlist

0 comments on commit 3def2d8

Please sign in to comment.