Add gerbil builder container

Former-commit-id: 8843b894e2
This commit is contained in:
2023-01-22 21:50:50 -07:00
parent e799c9eaef
commit b2268a6518
5 changed files with 41 additions and 0 deletions
@@ -0,0 +1,17 @@
# From: https://github.com/vyzo/gerbil/blob/master/docker/Dockerfile
FROM gerbil/ubuntu
# Install the Solidity compiler (latest stable version)
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && export DEBCONF_NOWARNINGS="yes" \
apt-get install -y software-properties-common && \
add-apt-repository ppa:ethereum/ethereum && \
apt-get update && apt-get install -y solc && \
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /scripts
COPY install-dependencies.sh /scripts
RUN bash /scripts/install-dependencies.sh
COPY entrypoint.sh .
ENTRYPOINT ["./entrypoint.sh"]