synapse-compress-state-docker/Dockerfile
samuel-p 6c6d7848f7
All checks were successful
continuous-integration/drone/push Build is passing
initial commit
2020-09-06 13:24:44 +02:00

11 lines
345 B
Docker

FROM rust:1.46.0 as builder
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