Install g++ package explicitly on Ubuntu

Apparently, g++ is only installed because of the Boost dependency.
Make the g++ dependency explicit to avoid future package errors.
This commit is contained in:
Patrick Lühne 2018-03-25 17:06:40 +02:00
parent fde2af5841
commit 50ebf3c6de
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -4,6 +4,7 @@ ARG toolchain
RUN apt-get update RUN apt-get update
RUN apt-get install -y libboost-all-dev cmake git ninja-build re2c RUN apt-get install -y libboost-all-dev cmake git ninja-build re2c
RUN if [ "${toolchain}" = "gcc" ]; then apt-get install -y g++; fi
RUN if [ "${toolchain}" = "clang" ]; then apt-get install -y clang; fi RUN if [ "${toolchain}" = "clang" ]; then apt-get install -y clang; fi
VOLUME /app VOLUME /app