From 46bcc2f882ffc5dc4e685f22ccaca0b23b83738d Mon Sep 17 00:00:00 2001 From: David Boreham Date: Sun, 22 Jan 2023 22:12:05 -0700 Subject: [PATCH] Fix bugs --- .../container-build/cerc-builder-gerbil/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/data/container-build/cerc-builder-gerbil/Dockerfile b/app/data/container-build/cerc-builder-gerbil/Dockerfile index af077286..3daf6003 100644 --- a/app/data/container-build/cerc-builder-gerbil/Dockerfile +++ b/app/data/container-build/cerc-builder-gerbil/Dockerfile @@ -2,16 +2,19 @@ FROM gerbil/ubuntu # Install the Solidity compiler (latest stable version) -RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && export DEBCONF_NOWARNINGS="yes" \ +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/* + 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"] +# Needed to prevent git from raging about /src +RUN git config --global --add safe.directory /src + +COPY entrypoint.sh /scripts +ENTRYPOINT ["/scripts/entrypoint.sh"]