Skip to content

Commit

Permalink
chore: skip slither in docker (#5384)
Browse files Browse the repository at this point in the history
Skipping slither runs in the docker for less pain with the changes happening all the time.
  • Loading branch information
LHerskind authored Mar 22, 2024
1 parent 5235c95 commit 8a76068
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions l1-contracts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM ubuntu:lunar
RUN apt update && apt install curl git jq bash nodejs npm python3.11-full python3-pip -y

# Use virtualenv, do not try to use pipx, it's not working.
RUN python3 -m venv /root/.venv
RUN /root/.venv/bin/pip3 install slither-analyzer==0.10.0 slitherin==0.5.0
# RUN python3 -m venv /root/.venv
# RUN /root/.venv/bin/pip3 install slither-analyzer==0.10.0 slitherin==0.5.0
RUN curl -L https://foundry.paradigm.xyz | bash

# Set env variables for foundry and venv
Expand All @@ -20,7 +20,7 @@ RUN forge clean && forge fmt --check && forge build && forge test --no-match-con
RUN npm install --global yarn
RUN yarn && yarn lint

RUN git add . && yarn slither && yarn slither-has-diff
# RUN git add . && yarn slither && yarn slither-has-diff
RUN forge build

FROM scratch
Expand Down

0 comments on commit 8a76068

Please sign in to comment.