Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions projects/cirq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -17,26 +17,26 @@
FROM gcr.io/oss-fuzz-base/base-builder-python

RUN git clone \
--depth 1 \
--branch main \
https://github.com/quantumlib/Cirq.git
--depth 1 \
--branch main \
https://github.com/quantumlib/Cirq.git

WORKDIR $SRC/Cirq

RUN apt-get update
RUN cat apt-system-requirements.txt dev_tools/conf/apt-list-dev-tools.txt | xargs apt-get install -y
# Install pip dependencies.
RUN --mount=type=cache,target=/root/.cache/pip \
export PIP_ROOT_USER_ACTION=ignore && \
pip3 install --upgrade pip && \
pip3 install -r dev_tools/requirements/dev.env.txt

# Install cirq dependencies
RUN pip3 install --upgrade pip
RUN pip3 install -r dev_tools/requirements/dev.env.txt

# Install cirq related modules
RUN pip3 install \
./cirq-core \
./cirq-aqt \
./cirq-web \
./cirq-ionq \
./cirq-google \
./cirq-pasqal
# Install Cirq-related modules.
RUN export PIP_ROOT_USER_ACTION=ignore && \
pip3 install --no-cache-dir \
./cirq-core \
./cirq-aqt \
./cirq-web \
./cirq-ionq \
./cirq-google \
./cirq-pasqal

COPY build.sh fuzz_circuit.py $SRC/
Loading