1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-04 16:17:17 +02:00

Fix Ubuntu build

This commit is contained in:
tsjost 2021-10-12 03:16:52 +02:00
parent 3487b81f40
commit bf345af47a

View File

@ -1,13 +1,15 @@
FROM ubuntu:latest FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \ RUN apt-get update \
&& apt-get install --no-install-recommends --no-upgrade -y \ && apt-get install --no-install-recommends --no-upgrade -y \
build-essential \ build-essential \
cmake \ cmake \
ninja-build \ ninja-build \
gcc-7 \ gcc \
g++-7 \ g++ \
clang-6.0 \ clang \
llvm \ llvm \
lcov \ lcov \
curl \ curl \
@ -23,10 +25,6 @@ RUN apt-get update \
libqt5opengl5-dev \ libqt5opengl5-dev \
libfreetype6-dev \ libfreetype6-dev \
iwyu \ iwyu \
qt5-default \ qt5-default
&& apt-get clean \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
&& update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-7 60
CMD ["/bin/bash"] CMD ["/bin/bash"]