2021-09-09 19:02:30 +00:00
|
|
|
FROM rust:1.55.0 as builder
|
2020-09-06 11:24:44 +00:00
|
|
|
|
|
|
|
RUN git clone https://github.com/matrix-org/rust-synapse-compress-state.git && \
|
|
|
|
cargo install --path rust-synapse-compress-state
|
|
|
|
|
|
|
|
FROM debian:buster-slim
|
|
|
|
|
|
|
|
RUN apt update && \
|
|
|
|
apt install -y postgresql-client
|
|
|
|
|
|
|
|
COPY --from=builder /usr/local/cargo/bin/synapse-compress-state /usr/local/bin/synapse-compress-state
|