Created
September 3, 2023 20:44
-
-
Save fowlmouth/0c26f83b10085ea49ae2b5fda80042ba to your computer and use it in GitHub Desktop.
Spacetime DB rust module builder image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker.io/library/rust:1-bookworm | |
RUN rustup default stable | |
RUN rustup component add clippy | |
RUN rustup target add wasm32-unknown-unknown | |
ARG SPACETIME_VERSION=0.6.1-beta | |
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \ | |
&& curl https://github.com/clockworklabs/SpacetimeDB/releases/download/v$SPACETIME_VERSION/spacetime.linux-$arch.tar.gz -o spacetime.tgz --fail --location \ | |
&& tar xvzf spacetime.tgz \ | |
&& rm spacetime.tgz | |
ENTRYPOINT ["/spacetime"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment