Commit d28c80bb authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

adding isc demo docker file

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <>
parent 59c4df4f
Pipeline #59212 passed with stages
in 7 minutes and 17 seconds
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
#Common deps
RUN apt-get -y update && apt-get -y install vim curl xz-utils \
wget gpg software-properties-common git libblas-dev liblapack-dev \
gcc g++ libcurl4-openssl-dev libpython3-dev python3 python3-pip
RUN wget -O - | apt-key add - && \
echo "deb llvm-toolchain-bionic main" > /etc/apt/sources.list.d/llvm.list && \
apt-get update && apt-get install -y clang-tools-9 libclang-9-dev llvm-9-dev && \
ln -s /usr/bin/clangd-9 /usr/bin/clangd && \
ln -s /usr/bin/llvm-config-9 /usr/bin/llvm-config
RUN python3 -m pip install cmake pyquil numpy ipopo
RUN git clone --recursive && cd xacc && mkdir build && cd build \
&& cmake .. -DPYTHON_INCLUDE_DIR=/usr/include/python3.6m -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/ \
&& make -j2 install
RUN git clone --recursive && cd qcor && mkdir build && cd build \
&& cmake .. -DXACC_DIR=/root/.xacc && make -j2 install
RUN echo "export PATH=$PATH:/root/.xacc/bin" >> /root/.bashrc
RUN echo "export PYTHONPATH=$PYTHONPATH:/root/.xacc" >> /root/.bashrc
ADD .forest_config /root/
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment