Dockerfile: upgrade from Ubuntu Bionic (18.04) to Focal (20.04) (#1242)

Dockerfile: upgrade from Ubuntu Bionic (18.04) to Focal (20.04) (#1242)
pull/1300/head
greenknot 2 years ago committed by GitHub
parent 6971f3005d
commit c4c7d5674a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      Dockerfile

@ -1,4 +1,4 @@
FROM ubuntu:bionic
FROM ubuntu:focal
LABEL name=slither
LABEL src="https://github.com/trailofbits/slither"
@ -6,11 +6,12 @@ LABEL creator=trailofbits
LABEL dockerfile_maintenance=trailofbits
LABEL desc="Static Analyzer for Solidity"
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y git python3 python3-setuptools wget software-properties-common
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get upgrade -yq \
&& apt-get install -yq gcc git python3 python3-dev python3-setuptools wget software-properties-common
RUN wget https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-static-linux \
RUN wget -q https://github.com/ethereum/solidity/releases/download/v0.4.25/solc-static-linux \
&& chmod +x solc-static-linux \
&& mv solc-static-linux /usr/bin/solc

Loading…
Cancel
Save