diff options
author | Andres Gomez <[email protected]> | 2019-03-05 13:55:17 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2019-03-05 14:05:24 +0000 |
commit | cf79d62f90a857c92e45f3ab6ba363b0688ce0f0 (patch) | |
tree | 728ffce49e410c8927fb45f6ca60090ed21adf27 /.gitlab-ci | |
parent | c2a148692b4d728e481b60a503e21931f9cf43f0 (diff) |
gitlab-ci: install distro's ninja
Ubuntu Bionic is shipping ninja 1.8.2. Therefore, we do not need to
download v1.6.0 manually any more.
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/Dockerfile.ubuntu | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.gitlab-ci/Dockerfile.ubuntu b/.gitlab-ci/Dockerfile.ubuntu index d935e92768c..83ab85d6f89 100644 --- a/.gitlab-ci/Dockerfile.ubuntu +++ b/.gitlab-ci/Dockerfile.ubuntu @@ -51,7 +51,8 @@ RUN apt-get install -y \ python-setuptools \ python3.5 \ python3-pip \ - python3-setuptools + python3-setuptools \ + ninja-build RUN apt-get install -y \ libxcb-randr0 @@ -143,15 +144,6 @@ RUN wget $WAYLAND_RELEASES/$WAYLAND_PROTOCOLS_VERSION.tar.xz RUN tar -xvf $WAYLAND_PROTOCOLS_VERSION.tar.xz && rm $WAYLAND_PROTOCOLS_VERSION.tar.xz RUN (cd $WAYLAND_PROTOCOLS_VERSION && ./configure && make install) && rm -rf $WAYLAND_PROTOCOLS_VERSION - -RUN apt-get install -y unzip - -# Meson requires ninja >= 1.6, but xenial has 1.3.x -RUN wget https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-linux.zip -RUN unzip ninja-linux.zip && rm ninja-linux.zip -RUN mv ninja /usr/bin/ - - RUN pip3 install 'meson>=0.49' RUN pip2 install 'scons>=2.4' |