forked from cerc-io/stack-orchestrator
parent
b2268a6518
commit
7bd8045d6e
@ -2,16 +2,19 @@
|
|||||||
FROM gerbil/ubuntu
|
FROM gerbil/ubuntu
|
||||||
|
|
||||||
# Install the Solidity compiler (latest stable version)
|
# 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 && \
|
apt-get install -y software-properties-common && \
|
||||||
add-apt-repository ppa:ethereum/ethereum && \
|
add-apt-repository ppa:ethereum/ethereum && \
|
||||||
apt-get update && apt-get install -y solc && \
|
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
|
RUN mkdir /scripts
|
||||||
COPY install-dependencies.sh /scripts
|
COPY install-dependencies.sh /scripts
|
||||||
|
|
||||||
RUN bash /scripts/install-dependencies.sh
|
RUN bash /scripts/install-dependencies.sh
|
||||||
|
|
||||||
COPY entrypoint.sh .
|
# Needed to prevent git from raging about /src
|
||||||
ENTRYPOINT ["./entrypoint.sh"]
|
RUN git config --global --add safe.directory /src
|
||||||
|
|
||||||
|
COPY entrypoint.sh /scripts
|
||||||
|
ENTRYPOINT ["/scripts/entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user