Merge branch 'fix-contract-migration-build' into 'master'

switch to deb solc package

See merge request grassrootseconomics/cic-internal-integration!123
This commit is contained in:
Blair Vanderlugt 2021-04-28 04:07:29 +00:00
commit e6d57d3bbb

View File

@ -4,9 +4,13 @@ FROM python:3.8.6-slim-buster as compile-image
RUN apt-get update RUN apt-get update
RUN apt-get install -y --no-install-recommends git gcc g++ libpq-dev gawk jq telnet wget openssl iputils-ping gnupg socat bash procps make python2 cargo RUN apt-get install -y --no-install-recommends git gcc g++ libpq-dev gawk jq telnet wget openssl iputils-ping gnupg socat bash procps make python2 cargo
RUN apt-get install -y software-properties-common RUN touch /etc/apt/sources.list.d/ethereum.list
RUN add-apt-repository ppa:ethereum/ethereum RUN echo 'deb http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic main' > /etc/apt/sources.list.d/ethereum.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1C52189C923F6CA9 RUN echo 'deb-src http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic main' >> /etc/apt/sources.list.d/ethereum.list
RUN cat etc/apt/sources.list.d/ethereum.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2A518C819BE37D2C2031944D1C52189C923F6CA9
RUN apt-get update RUN apt-get update
RUN apt-get install solc RUN apt-get install solc
RUN pip install --upgrade pip RUN pip install --upgrade pip