pyhf / htcondor-examples

Example configurations for using pyhf with HTCondor inspired by the Center for High Throughput Computing examples
MIT License
2 stars 1 forks source link

feat: Update Dockerfile to support non-root users #4

Closed matthewfeickert closed 1 year ago

matthewfeickert commented 1 year ago
* Create top level directories /.local /.config /.cache /.jupyter /work
  that are writeable by all users and make /usr/local/venv writable to
  allow for interactive use by non-root users.
* Set WORKDIR to be all user writable /work directory.
* Make 'build' nox session build the image for three common nvidia/cuda base images:
  nvidia/cuda:11.2.2-devel-ubuntu20.04, nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04,
  nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04. Set the 11.6.0-cudnn8-devel-ubuntu20.04
  base image to be the default that 'latest-jax' is built against.