diff options
| author | Dax Raad <[email protected]> | 2026-01-29 23:07:58 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-01-29 23:07:58 -0500 |
| commit | 5cfb5fdd0664632956056a1004ab1857a8eb3673 (patch) | |
| tree | df571be285045a90ae461ce73a966d24f95146a1 /packages/containers/rust/Dockerfile | |
| parent | 30969dc33e20858a9b7773aa19ad345335a644c1 (diff) | |
| download | opencode-5cfb5fdd0664632956056a1004ab1857a8eb3673.tar.gz opencode-5cfb5fdd0664632956056a1004ab1857a8eb3673.zip | |
ci: add container build workflow
Add prebuilt build images and a publish workflow to speed CI by reusing heavy dependencies.
Diffstat (limited to 'packages/containers/rust/Dockerfile')
| -rw-r--r-- | packages/containers/rust/Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/containers/rust/Dockerfile b/packages/containers/rust/Dockerfile new file mode 100644 index 000000000..533f348be --- /dev/null +++ b/packages/containers/rust/Dockerfile @@ -0,0 +1,13 @@ +ARG REGISTRY=ghcr.io/anomalyco +FROM ${REGISTRY}/build/bun-node:24.04 + +ARG RUST_TOOLCHAIN=stable + +ENV CARGO_HOME=/opt/cargo +ENV RUSTUP_HOME=/opt/rustup +ENV PATH=/opt/cargo/bin:/opt/bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + +RUN set -euo pipefail; \ + curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain "${RUST_TOOLCHAIN}"; \ + rustc --version; \ + cargo --version |
