Commit c20913fd authored by James Clark's avatar James Clark

containerize sphinx build to test docs locally

parent 6cf1a806
Pipeline #58878 passed with stages
in 45 seconds
FROM python:3.7-slim-stretch
RUN apt-get -yqq update
RUN apt-get -yqq install curl
RUN curl --location --output pandoc.deb https://github.com/jgm/pandoc/releases/download/2.7.2/pandoc-2.7.2-1-amd64.deb
RUN dpkg --install pandoc.deb || { apt-get -y -f install; dpkg --install pandoc.deb; }
COPY requirements.txt requirements.txt
RUN python3 -m pip install -r requirements.txt
ENTRYPOINT ["/bin/bash"]
#!/bin/bash
docker run -u $(id -u):$(id -g) \
-w $PWD \
-v /home:/home \
jclarkastro/gwrucio-doc:latest \
./build.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment