mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-14 16:37:56 -05:00
17 lines
459 B
Docker
17 lines
459 B
Docker
FROM ubuntu:20.04
|
|
|
|
RUN apt-get update && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
|
|
|
|
# Install basic packages
|
|
RUN apt-get install build-essential curl wget git pkg-config -y
|
|
|
|
# Install dev-packages
|
|
RUN apt-get install libclang-dev libssl-dev llvm -y
|
|
|
|
# Install Rust
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# Add Toolchain
|
|
RUN rustup toolchain install nightly-2022-12-10
|