FROM ubuntu:focal MAINTAINER Scott E. Graves CMD bash ARG CMAKE_VERSION=3.22.2 # Required system packages RUN apt-get update RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata RUN ln -fs /usr/share/zoneinfo/America/Chicago /etc/localtime RUN dpkg-reconfigure --frontend noninteractive tzdata RUN apt-get -y install \ apt-utils \ build-essential \ curl \ pkg-config \ autoconf \ automake \ libtool \ make \ gcc \ g++ \ libfuse-dev \ libstdc++-9-dev \ diffutils \ git \ tar \ wget \ zip \ zlib1g-dev \ diffutils RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh \ -q -O /tmp/cmake-install.sh \ && chmod u+x /tmp/cmake-install.sh \ && mkdir /cmake \ && /tmp/cmake-install.sh --skip-license --prefix=/cmake \ && rm /tmp/cmake-install.sh ENV PATH="/cmake/bin:${PATH}"