Patrick Lühne
50ebf3c6de
Apparently, g++ is only installed because of the Boost dependency. Make the g++ dependency explicit to avoid future package errors.
11 lines
271 B
Plaintext
11 lines
271 B
Plaintext
FROM ubuntu:18.04
|
|
|
|
ARG toolchain
|
|
|
|
RUN apt-get update
|
|
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
|
|
|
|
VOLUME /app
|