From 067155cff54a489b1dd930b89ec079f2be40a690 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 1 May 2024 06:37:13 -0500 Subject: containers: add ubuntu 24.04 (#43881) * containers: add ubuntu 24.04 * containers: use python3-boto3 pkg instead of pip install --- .../templates/container/ubuntu_2404.dockerfile | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 share/spack/templates/container/ubuntu_2404.dockerfile (limited to 'share') diff --git a/share/spack/templates/container/ubuntu_2404.dockerfile b/share/spack/templates/container/ubuntu_2404.dockerfile new file mode 100644 index 0000000000..1cf4cfb101 --- /dev/null +++ b/share/spack/templates/container/ubuntu_2404.dockerfile @@ -0,0 +1,33 @@ +{% extends "container/bootstrap-base.dockerfile" %} +{% block env_vars %} +{{ super() }} +ENV DEBIAN_FRONTEND=noninteractive \ + LANGUAGE=en_US.UTF-8 \ + LANG=en_US.UTF-8 \ + LC_ALL=en_US.UTF-8 +{% endblock %} +{% block install_os_packages %} +RUN apt-get -yqq update \ + && apt-get -yqq upgrade \ + && apt-get -yqq install --no-install-recommends \ + build-essential \ + ca-certificates \ + curl \ + file \ + g++ \ + gcc \ + gfortran \ + git \ + gnupg2 \ + iproute2 \ + locales \ + make \ + mercurial \ + subversion \ + python3 \ + python3-boto3 \ + unzip \ + zstd \ + && locale-gen en_US.UTF-8 \ + && rm -rf /var/lib/apt/lists/* +{% endblock %} -- cgit v1.2.3-70-g09d2