Commit ca3b526c authored by Jason Swails's avatar Jason Swails
Browse files

Update docker configurations

parent c82a8dca
......@@ -6,15 +6,15 @@ pipeline {
parallel {
stage("Build and test CUDA platform") {
agent {
dockerfile {
dir "devtools/ci/jenkins"
label "cuda"
docker {
image "swails/openmm-all:latest"
label "cuda && docker"
alwaysPull true
}
}
steps {
sh '''#!/bin/bash -lex
sh '''#!/bin/bash -ex
git clean -fxd && git checkout .
env
export OPENMM_CUDA_COMPILER=`which nvcc`
bash -e devtools/ci/jenkins/install.sh
bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2
......@@ -24,17 +24,15 @@ pipeline {
stage("Build and test OpenCL platform") {
agent {
dockerfile {
dir "devtools/ci/jenkins"
label "cuda"
filename "Dockerfile.opencl"
docker {
image "swails/openmm-all:latest"
label "cuda && docker"
alwaysPull true
}
}
steps {
sh '''#!/bin/bash -lex
sh '''#!/bin/bash -ex
git clean -fxd && git checkout .
env
export OPENMM_CUDA_COMPILER=`which nvcc`
bash -e devtools/ci/jenkins/install.sh
bash -e devtools/ci/jenkins/test.sh -R 'TestOpenCL' --parallel 2
'''
......@@ -43,8 +41,10 @@ pipeline {
stage("Build/test CPU platforms") {
agent {
dockerfile {
dir "devtools/ci/jenkins"
docker {
image "swails/openmm-all:latest"
label "docker"
alwaysPull true
}
}
......
FROM nvidia/cuda:10.1-devel-ubuntu18.04
ENV PATH="/opt/miniconda/bin:${PATH}"
RUN apt-get update && \
apt-get install -y wget git gromacs doxygen gfortran libfftw3-dev gcc g++ bzip2 automake make lsb-core && \
wget https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O miniconda.sh && \
bash miniconda.sh -b -p "/opt/miniconda" && \
rm -f miniconda.sh && \
mkdir /.conda && chmod -R 777 /.conda && chmod -R 777 /opt/miniconda && \
conda install -y cmake numpy scipy pytest swig cython
FROM nvidia/opencl:devel-ubuntu18.04
ENV PATH="/opt/miniconda/bin:${PATH}"
RUN apt-get update && \
apt-get install -y wget git gromacs doxygen gfortran libfftw3-dev gcc g++ bzip2 automake make lsb-core && \
wget https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O miniconda.sh && \
bash miniconda.sh -b -p "/opt/miniconda" && \
rm -f miniconda.sh && \
mkdir /.conda && chmod -R 777 /.conda && chmod -R 777 /opt/miniconda && \
conda install -y cmake numpy scipy pytest swig cython
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