diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 93dacef..ffcf290 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -35,6 +35,7 @@ jobs: matrix: dockerfile: [[e4s-ubuntu-18.04, e4s-ubuntu-18.04.dockerfile, 'linux/amd64,linux/ppc64le,linux/arm64'], [e4s-ubuntu-20.04, e4s-ubuntu-20.04.dockerfile, 'linux/amd64,linux/ppc64le,linux/arm64'], + [ubuntu-22.04, ubuntu-22.04.dockerfile, 'linux/amd64,linux/ppc64le,linux/arm64'], [linux-ubuntu22.04-x86_64_v2, linux-ubuntu22.04-x86_64_v2/Dockerfile, 'linux/amd64'], [tutorial-ubuntu-22.04, tutorial-ubuntu-22.04/Dockerfile, 'linux/amd64'], [e4s-amazonlinux-2, e4s-amazonlinux-2.dockerfile, 'linux/amd64,linux/arm64'], diff --git a/Dockerfiles/ubuntu-22.04.dockerfile b/Dockerfiles/ubuntu-22.04.dockerfile new file mode 100644 index 0000000..19d0ab1 --- /dev/null +++ b/Dockerfiles/ubuntu-22.04.dockerfile @@ -0,0 +1,57 @@ +FROM ubuntu:22.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