2 ENV DEBIAN_FRONTEND noninteractive
4 ## Update cache and upgrade image
5 RUN apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade
7 ## Build environment packages
8 RUN apt-get install -qq -y --ignore-missing \
17 libcurl4-openssl-dev \
31 ## Install cmake since it's an expensive operation and best be done once
32 RUN mkdir -p /usr/local/bin
33 COPY ./setup-cmake.sh /usr/local/bin/setup-cmake.sh
34 RUN chmod +x /usr/local/bin/setup-cmake.sh
35 RUN /usr/local/bin/setup-cmake.sh