From 4543230dbab4238a19ebbdb96de5634ecbcdba78 Mon Sep 17 00:00:00 2001 From: capossele Date: Thu, 1 Feb 2024 18:05:02 +0000 Subject: [PATCH] drop docker --- .dockerignore | 2 -- Dockerfile | 24 ------------------------ 2 files changed, 26 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 155a665b..00000000 --- a/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -**/target -**/Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c20d0bc5..00000000 --- a/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -# Start from rust template -FROM rust - -# Install Foundry -RUN cargo install --git https://github.com/foundry-rs/foundry --profile local --force foundry-cli anvil chisel - -# Install rust toolchain -COPY rust-toolchain.toml . -RUN rustup toolchain install . - -# Copy source code -COPY . . - -# Update github host -RUN mkdir -p /root/.ssh && ssh-keyscan github.com > ~/.ssh/known_hosts - -# Build solidity code -RUN forge build - -# Build rust code -RUN --mount=type=ssh \ - cargo build - -ENTRYPOINT ["forge"]