Commit 09f7479a authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

updating docker deploy base gcc install to version 8 to avoid possible python...


updating docker deploy base gcc install to version 8 to avoid possible python heterogeneous map std::any bug
Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 1045d515
Pipeline #107644 passed with stage
in 67 minutes and 32 seconds
...@@ -49,7 +49,7 @@ Build from Source ...@@ -49,7 +49,7 @@ Build from Source
----------------- -----------------
Full installation details can be followed [here](https://xacc.readthedocs.io/en/latest/install.html). Full installation details can be followed [here](https://xacc.readthedocs.io/en/latest/install.html).
Ensure that you have installed CMake 3.12+, a C++14 compliant compiler (GCC 6+, Clang 3.4+), and Ensure that you have installed CMake 3.12+, a C++17 compliant compiler (GCC 8+, Clang 5+), and
CURL development headers and libraries with OpenSSL support CURL development headers and libraries with OpenSSL support
(see [prerequisites](http://xacc.readthedocs.io/en/latest/install.html#pre-requisites)). (see [prerequisites](http://xacc.readthedocs.io/en/latest/install.html#pre-requisites)).
......
...@@ -26,13 +26,16 @@ RUN apt-get update && \ ...@@ -26,13 +26,16 @@ RUN apt-get update && \
python3-pip \ python3-pip \
libblas-dev liblapack-dev \ libblas-dev liblapack-dev \
libcurl4-openssl-dev libssl-dev \ libcurl4-openssl-dev libssl-dev \
vim gcc g++ gfortran \ vim gcc-8 g++-8 gfortran-8 \
wget \ wget \
xz-utils && python3 -m pip install --upgrade pip --user \ xz-utils && python3 -m pip install --upgrade pip --user \
&& python3 -m pip install setuptools \ && python3 -m pip install setuptools \
&& python3 -m pip install python-language-server flake8 autopep8 \ && python3 -m pip install python-language-server flake8 autopep8 \
cmake ipopo pint numpy scipy pydantic qiskit pylint pyquil cirq matplotlib \ cmake ipopo pint numpy scipy pydantic qiskit pylint pyquil cirq matplotlib \
&& apt-get install -y gpg && rm -rf /var/lib/apt/lists/* \ && apt-get install -y gpg && rm -rf /var/lib/apt/lists/* \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 50 \
&& update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-8 50 \
#Install node and yarn #Install node and yarn
#From: https://github.com/nodejs/docker-node/blob/6b8d86d6ad59e0d1e7a94cec2e909cad137a028f/8/Dockerfile #From: https://github.com/nodejs/docker-node/blob/6b8d86d6ad59e0d1e7a94cec2e909cad137a028f/8/Dockerfile
......
Markdown is supported
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