We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c73163 commit debe8ddCopy full SHA for debe8dd
.dockerignore
@@ -0,0 +1,3 @@
1
+.git
2
+.github
3
+/target
Dockerfile
@@ -0,0 +1,22 @@
+FROM rust:alpine AS builder
+
+RUN apk add python3 musl-dev pkgconfig openssl-dev make
4
5
+ENV RUSTFLAGS="-C target-feature=-crt-static"
6
7
+WORKDIR /opt/purginator3000/
8
9
+COPY . .
10
11
+RUN cargo build
12
13
+WORKDIR /opt/purginator3000/synapse_auto_compressor/
14
15
16
17
+FROM alpine
18
19
+RUN apk add --no-cache libgcc
20
21
+COPY --from=builder /opt/purginator3000/target/debug/synapse_compress_state /usr/local/bin/synapse_compress_state
22
+COPY --from=builder /opt/purginator3000/target/debug/synapse_auto_compressor /usr/local/bin/synapse_auto_compressor
0 commit comments