Verified Commit 3f498869 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Prepare 'docs' image for 0.9.0 release

parent caf97a6e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ gkfs:unit:
################################################################################
documentation:
  stage: docs
  image: gekkofs/docs:0.8.0
  image: gekkofs/docs:0.9.0
  needs: []
  rules:
    # we only build the documentation automatically if we are on the
+33 −0
Original line number Diff line number Diff line
FROM gekkofs/deps:0.9.0

LABEL Description="Debian-based environment suitable to build GekkoFS' documentation"

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        # install dependencies for Doxygen
        python \
        flex \
        bison \
		graphviz && \
	# install doxygen (repo version is kind of old)
	cd /tmp && curl -OL https://www.doxygen.nl/files/doxygen-1.9.2.src.tar.gz && \
	tar xvfz /tmp/doxygen-1.9.2.src.tar.gz && \
	mkdir -p /tmp/doxygen-1.9.2/build && \
	cd /tmp/doxygen-1.9.2/build && \
	cmake -G "Unix Makefiles" .. && \
	make -j8 install && \
    # install sphinx, breathe and exhale
    pip3 install \
        'sphinx==4.4.0' \
        sphinx_rtd_theme \
        'breathe==4.31.0' \
        'exhale==0.2.4' \
        'sphinx-copybutton==0.4.0' \
        'sphinx-multiversion==0.2.4' \
        'myst_parser==0.15.1' && \
    # Clean apt cache to reduce image layer size
    rm -rf /var/lib/apt/lists/* && \
    rm -rf /tmp/doxygen-1.9.2 && \
    rm /tmp/doxygen-1.9.2.src.tar.gz && \
    # Clean apt caches of packages
    apt-get clean && apt-get autoclean
+4 −0
Original line number Diff line number Diff line
.PHONY: all

all:
	docker build -t gekkofs/docs:0.9.0 .