Closed saces closed 2 years ago
@saces This Dockerfile builds the binary into a different location than is expected by this project:
This commit makes it a bit different than the existing available image here: https://hub.docker.com/r/devture/rust-synapse-compress-state. It did otherwise build properly for me on my arm64 instance! 🥳
I'm going to keep poking around at things to see if I can get things working on my arm64 instance. 😅 Thank you for this PR!
I'm going to keep poking around at things to see if I can get things working on my arm64 instance. 😅 Thank you for this PR!
I was able to adjust the final two COPY commands in this PR and then utilize a locally build arm64 docker image with the Ansible+Docker=Matrix project after overriding this variable. 🎉
COPY --from=builder /opt/src/target/debug/synapse_compress_state /synapse-compress-state
COPY --from=builder /opt/src/target/debug/synapse_auto_compressor /synapse-auto-compressor
Could a sign-off be added, as per https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off ?
Could a sign-off be added, as per https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off ?
I assume this question is for @saces as the submitter and not me? I'm happy to add mine if you would like it from reviewers as well. 😅
Signed-off-by: @rlywtf github@rly.wtf
Could a sign-off be added, as per https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off ?
I assume this question is for @saces as the submitter and not me?
That was for @saces, yes.
simple alpine based docker container with
synapse_compress_state
andsynapse_auto_compressor
.Example:
My work repos lives here: https://gitlab.com/mb-saces/rust-synapse-compress-state