Verify solc binary

Verify that the solc binary is the one **we used** and noone changed it in the meantime.
pull/107/head
Disconnect3d 6 years ago committed by GitHub
parent 7f02976f04
commit de529a6fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Dockerfile

@ -14,6 +14,9 @@ RUN wget https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-sta
&& chmod +x solc-static-linux \
&& mv solc-static-linux /usr/bin/solc
# If this fails, the solc-static-linux binary has changed while it should not.
RUN [ "c9b268750506b88fe71371100050e9dd1e7edcf8f69da34d1cd09557ecb24580 /usr/bin/solc" = "$(sha256sum /usr/bin/solc)" ]
RUN git clone https://github.com/trailofbits/slither.git
WORKDIR slither

Loading…
Cancel
Save