Verified Commit ef2408e2 authored by Jean-Noël Grad's avatar Jean-Noël Grad
Browse files

Fuse cuda 9.2 and Ubuntu 18.04 images together

parent b304b6d2
......@@ -10,9 +10,7 @@ jobs:
strategy:
matrix:
image: ['centos', 'clang', 'debian', 'fedora', 'opensuse', 'rocm',
'ubuntu-18.04', 'ubuntu-20.04',
'ubuntu-cuda-9.0',
'ubuntu-wo-dependencies']
'ubuntu-18.04', 'ubuntu-20.04', 'ubuntu-wo-dependencies']
steps:
- uses: actions/checkout@master
- name: Build and deploy
......
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND noninteractive
COPY build-and-install-scafacos.sh /tmp/
COPY build-and-install-scafacos.sh /tmp
COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install -y \
&& apt-get install -y \
libthrust-dev \
nvidia-cuda-toolkit \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN bash /tmp/build-and-install-scafacos.sh
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
RUN useradd -m espresso
USER 1000
USER espresso
WORKDIR /home/espresso
FROM nvidia/cuda:9.2-devel-ubuntu18.04
ENV DEBIAN_FRONTEND noninteractive
COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install -y \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
ENV HOME="/home/espresso"
WORKDIR /home/espresso
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