mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-21 03:47:59 -05:00
Co-authored-by: Lawliet-Chan <1576710154@qq.com> Co-authored-by: colinlyguo <colinlyguo@gmail.com> Co-authored-by: colinlyguo <102356659+colinlyguo@users.noreply.github.com>
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-08-23
|