Skip to content
Snippets Groups Projects
Dockerfile 651 B
# Docker Image for running csg-eb tests

FROM ubuntu:20.04

LABEL maintainer="Mark Meredith <mark.meredith@netl.doe.gov>"

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -qq update \
  && apt-get -qq -y install --no-install-recommends \
  build-essential=12.* \
  git=1:2.* \
  openscad=2019.* \
  pkg-config=0.29.* \
  python3-pip=20.* \
  python3-venv=3.8.* \
  && apt-get clean && rm -rf /var/lib/apt/lists/* \

  && pip3 install --no-cache-dir \
  cmake==3.* \
  conan==1.* \
  ninja==1.* \

  && git clone -c feature.manyFiles=true https://github.com/spack/spack.git /usr/local/spack \

  && PATH=/usr/local/spack/bin:$PATH

CMD [ "/bin/bash" ]