From 8ecde34fc8cc9c63139b3c682435b69293e17359 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 6 Aug 2024 13:38:58 +0200 Subject: [PATCH] Create Ubuntu 24.04 image (#53) --- Dockerfiles/ubuntu-24.04.dockerfile | 57 +++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Dockerfiles/ubuntu-24.04.dockerfile diff --git a/Dockerfiles/ubuntu-24.04.dockerfile b/Dockerfiles/ubuntu-24.04.dockerfile new file mode 100644 index 0000000..39330c8 --- /dev/null +++ b/Dockerfiles/ubuntu-24.04.dockerfile @@ -0,0 +1,57 @@ +FROM ubuntu:24.04 + +ARG DEBIAN_FRONTEND=noninteractive +ENV TZ=America/Los_Angeles + +RUN apt update -y \ + && apt upgrade -y \ + && apt install -y \ + autoconf \ + automake \ + bzip2 \ + cpio \ + curl \ + file \ + findutils \ + g++ \ + gcc \ + gettext \ + gfortran \ + git \ + gpg \ + iputils-ping \ + jq \ + libffi-dev \ + libssl-dev \ + libxml2-dev \ + locales \ + locate \ + m4 \ + make \ + mercurial \ + ncurses-dev \ + patch \ + patchelf \ + pciutils \ + python3-pip \ + rsync \ + unzip \ + wget \ + zlib1g-dev \ + && locale-gen en_US.UTF-8 \ + && apt autoremove --purge \ + && apt clean \ + && ln -s /usr/bin/gpg /usr/bin/gpg2 \ + && ln -s `which python3` /usr/bin/python + +RUN python -m pip install --upgrade pip setuptools wheel \ + && python -m pip install gnureadline boto3 pyyaml pytz minio requests clingo \ + && rm -rf ~/.cache + +CMD ["/bin/bash"] + +ENV NVIDIA_VISIBLE_DEVICES=all \ + NVIDIA_DRIVER_CAPABILITIES=compute,utility \ + LANGUAGE=en_US:en \ + LANG=en_US.UTF-8 \ + LC_ALL=en_US.UTF-8