1 ARG compiler_version=12.1.0
2 ARG base_image=gcc:${compiler_version}
5 LABEL maintainer="Mario Konrad <mario.konrad@gmx.net>"
7 ARG cmake_version=3.24.1
8 ARG boost_version=1.80.0
12 && apt-get install -y apt-utils curl git-core ninja-build libqt5serialport5-dev \
13 && rm -fr /var/lib/apt/lists/*
17 COPY install-cmake.sh /tmp/
18 RUN /tmp/install-cmake.sh "${cmake_version}"
19 ENV PATH /opt/local/cmake/bin:$PATH
22 COPY install-boost.sh /tmp/
23 RUN /tmp/install-boost.sh "${boost_version}" "gcc"
24 ENV BOOST_ROOT=/opt/local
27 RUN useradd --groups users -M --uid 1000 user