Skip to content

Commit 5ac33ce

Browse files
committed
azure: docurium: fix build failure due to bumped CMake requirements
Our Docurium builds currently depend on Debian Jessie, which has CMake v3.0 available. As rugged has bumped its CMake requirements to need at least v3.5 now, the documentation build is thus failing. Fix this by converting our Docurium Docker image to be based on Ubuntu Bionic. We already do base all of our images on Ubuntu, so I don't see any sense in using Debian here. If this was only to speed up builds, we should just go all the way and use some minimal container like Alpine anyway. Also remove cache busters. As we're rebuilding the image every time, it's we really don't need them at all.
1 parent c76c1e8 commit 5ac33ce

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

azure-pipelines/docker/docurium

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
FROM debian:jessie-slim
2-
ARG CACHEBUST=1
3-
RUN apt-get update
4-
RUN apt install -y cmake pkg-config ruby ruby-dev llvm libclang-3.5-dev libssl-dev python-pygments
5-
ARG CACHEBUST=1
1+
FROM ubuntu:bionic
2+
RUN apt update && apt install -y cmake pkg-config ruby ruby-dev llvm libclang-dev libssl-dev python-pygments
63
RUN gem install docurium

0 commit comments

Comments
 (0)