forked from AztecProtocol/aztec-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.end-to-end.fast
25 lines (21 loc) · 1002 Bytes
/
Dockerfile.end-to-end.fast
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Use an ARG to define the architecture, defaulting to amd64
ARG ARCH=amd64
# aztec must be built from Dockerfile.fast
FROM aztecprotocol/aztec AS aztec
FROM aztecprotocol/build:1.0-${ARCH}
# Install additional dependencies
RUN apt-get update && apt-get install -y software-properties-common \
&& add-apt-repository ppa:xtradeb/apps -y && apt-get update \
&& apt-get install -y wget gnupg \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb [arch=$(dpkg --print-architecture)] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt update && apt install -y curl chromium netcat-openbsd \
&& rm -rf /var/lib/apt/lists/*
ENV CHROME_BIN="/usr/bin/chromium"
ENV PATH=/opt/foundry/bin:$PATH
ENV HARDWARE_CONCURRENCY=""
ENV FAKE_PROOFS=""
ENV PROVER_AGENT_CONCURRENCY=8
COPY --from=aztec /usr/src/ /usr/src/
WORKDIR /usr/src/yarn-project/end-to-end
ENTRYPOINT ["yarn", "test"]