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
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"]
docker run -u $(id -u):$(id -g) \
-w $PWD \
-v /home:/home \
jclarkastro/gwrucio-doc:latest \
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