forked from WadeWagmi/siege-dojo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.build
More file actions
18 lines (13 loc) · 764 Bytes
/
Dockerfile.build
File metadata and controls
18 lines (13 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:24.04
RUN apt-get update -qq && apt-get install -y -qq \
build-essential curl git pkg-config libssl-dev ca-certificates && \
rm -rf /var/lib/apt/lists/*
# Install scarb 2.13.1 (matches dojo v1.8.0 core dependency)
RUN curl -sSL https://docs.swmansion.com/scarb/install.sh | bash -s -- -v 2.13.1
ENV PATH="/root/.local/bin:${PATH}"
# Install sozo 1.8.6 (latest, with updated Sierra->CASM compiler)
RUN curl -sSL https://github.com/dojoengine/dojo/releases/download/sozo/v1.8.6/sozo_v1.8.6_linux_amd64.tar.gz | tar xz -C /usr/local/bin
# Install Rust (needed for scarb plugin compilation)
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
ENV PATH="/root/.cargo/bin:${PATH}"
WORKDIR /app