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

updating docker images

parent 3e30451f
from mccaskey/base-fc25-gcc6
run dnf -y install openssl openssl-devel spdlog python-devel \
run dnf -y install openssl openssl-devel python-devel \
https://github.com/ORNL-QCI/ScaffCC/releases/download/v2.0/scaffold-2.0-1.fc25.x86_64.rpm \
&& git clone https://github.com/cppmicroservices/cppmicroservices \
&& cd cppmicroservices && mkdir build && cd build && cmake .. && make install && cd /projects \
......
from mccaskey/base-fc26-gcc6
run dnf -y install openssl openssl-devel spdlog python-devel \
run dnf -y install openssl openssl-devel python-devel \
https://github.com/ORNL-QCI/ScaffCC/releases/download/v2.0/scaffold-2.0-1.fc26.x86_64.rpm \
&& git clone https://github.com/cppmicroservices/cppmicroservices \
&& cd cppmicroservices && mkdir build && cd build && cmake .. && make install && cd /projects \
&& cd cppmicroservices && mkdir build && cd build && cmake .. -DCMAKE_CXX_FLAGS='-Wimplicit-fallthrough=0' && make install && cd /projects \
&& git clone --recursive https://github.com/ORNL-QCI/xacc \
&& rm -rf /projects/xacc/tpls/fire/.git \
&& source /etc/bashrc && module load mpi/mpich-x86_64 && cd /projects/xacc && mkdir build \
......
......@@ -4,7 +4,7 @@ run mkdir -p /projects
workdir /projects
run dnf install -y https://github.com/genereese/togo/releases/download/v2.3r7/togo-2.3-7.noarch.rpm \
python-devel gcc-c++ openssl openssl-devel cmake mpich-devel boost-mpich-devel make git wget \
https://github.com/ORNL-QCI/ScaffCC/releases/download/v2.0/scaffold-2.0-1.fc25.x86_64.rpm spdlog \
https://github.com/ORNL-QCI/ScaffCC/releases/download/v2.0/scaffold-2.0-1.fc25.x86_64.rpm \
&& git clone https://github.com/cppmicroservices/cppmicroservices \
&& cd cppmicroservices && mkdir build && cd build && cmake .. && make install && cd /projects \
&& git clone --recursive https://github.com/ORNL-QCI/xacc \
......@@ -19,7 +19,7 @@ run cd /projects/xacc && mkdir rpm_build && cd rpm_build && togo configure -n "A
&& sed -i -r "s/(Version: *).*/\11.0/" spec/header && sed -i -r "s/(Summary: *).*/\1XACC - eXtreme-scale ACCelerator programming environment./" spec/header \
&& sed -i -r "s/(Release: *).*/\11.fc25/" spec/header && sed -i -r "s/(License: *).*/\1BSD/" spec/header \
&& sed -i -r "s/(Buildarch: *).*/\1x86_64/" spec/header && sed -i -r "s/(Group: *).*/\1Development\/System/" spec/header \
&& sed -i -r "s/(Requires: *).*/\1gcc-c++ cmake python-devel git make libtool spdlog mpich-devel boost-mpich-devel/" spec/header \
&& sed -i -r "s/(Requires: *).*/\1gcc-c++ cmake python-devel git make libtool mpich-devel boost-mpich-devel/" spec/header \
&& sed -i -r '/Requires/s/^#//g' spec/header \
&& togo build package && cp rpms/*.rpm /projects/ \
&& cat spec/header
......@@ -4,7 +4,7 @@ run mkdir -p /projects
workdir /projects
run dnf install -y https://github.com/genereese/togo/releases/download/v2.3r7/togo-2.3-7.noarch.rpm \
python-devel gcc-c++ openssl openssl-devel cmake mpich-devel boost-mpich-devel make git wget \
https://github.com/ORNL-QCI/ScaffCC/releases/download/v2.0/scaffold-2.0-1.fc26.x86_64.rpm spdlog \
https://github.com/ORNL-QCI/ScaffCC/releases/download/v2.0/scaffold-2.0-1.fc26.x86_64.rpm \
&& git clone https://github.com/cppmicroservices/cppmicroservices \
&& cd cppmicroservices && mkdir build && cd build && cmake .. -DCMAKE_CXX_FLAGS='-Wimplicit-fallthrough=0' && make install && cd /projects \
&& git clone --recursive https://github.com/ORNL-QCI/xacc \
......@@ -19,7 +19,7 @@ run cd /projects/xacc && mkdir rpm_build && cd rpm_build && togo configure -n "A
&& sed -i -r "s/(Version: *).*/\11.0/" spec/header && sed -i -r "s/(Summary: *).*/\1XACC - eXtreme-scale ACCelerator programming environment./" spec/header \
&& sed -i -r "s/(Release: *).*/\11.fc26/" spec/header && sed -i -r "s/(License: *).*/\1BSD/" spec/header \
&& sed -i -r "s/(Buildarch: *).*/\1x86_64/" spec/header && sed -i -r "s/(Group: *).*/\1Development\/System/" spec/header \
&& sed -i -r "s/(Requires: *).*/\1gcc-c++ cmake python-devel git make libtool spdlog mpich-devel boost-mpich-devel/" spec/header \
&& sed -i -r "s/(Requires: *).*/\1gcc-c++ cmake python-devel git make libtool mpich-devel boost-mpich-devel/" spec/header \
&& sed -i -r '/Requires/s/^#//g' spec/header \
&& togo build package && cp rpms/*.rpm /projects/ \
&& cat spec/header
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