Skip to content

Commit

Permalink
chore: copy blockifier docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
dafnamatsry committed Jul 17, 2024
1 parent ac32b5f commit 21f8a3a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions blockifier.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM ubuntu:20.04

RUN apt update && apt -y install \
build-essential \
clang \
curl \
python3-dev

ENV RUSTUP_HOME=/opt/rust
ENV CARGO_HOME=/opt/rust
ENV PATH=$PATH:/opt/rust/bin

COPY scripts/install_build_tools.sh .
RUN bash install_build_tools.sh
2 changes: 1 addition & 1 deletion build_native_blockifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

docker_image_name=blockifier-ci
docker build . -t ${docker_image_name}
docker build . -t ${docker_image_name} --file blockifier.Dockerfile

docker run \
--rm \
Expand Down

0 comments on commit 21f8a3a

Please sign in to comment.