Changeset View
Changeset View
Standalone View
Standalone View
sphinx/Dockerfile
Show All 17 Lines | apt-get install -y --no-install-recommends \ | ||||
maven \ | maven \ | ||||
make \ | make \ | ||||
myrepos \ | myrepos \ | ||||
plantuml \ | plantuml \ | ||||
postgresql-autodoc \ | postgresql-autodoc \ | ||||
rsync \ | rsync \ | ||||
tox \ | tox \ | ||||
wget && \ | wget && \ | ||||
mkdir /home/jenkins/.cache && \ | mkdir -p /home/jenkins/.cache/pip && \ | ||||
chown jenkins:jenkins /home/jenkins/.cache && \ | chown -R jenkins:jenkins /home/jenkins/.cache && \ | ||||
wget -O /usr/share/plantuml/plantuml.jar https://github.com/plantuml/plantuml/releases/download/v${PLANTUML_VERSION}/plantuml-${PLANTUML_VERSION}.jar | wget -O /usr/share/plantuml/plantuml.jar https://github.com/plantuml/plantuml/releases/download/v${PLANTUML_VERSION}/plantuml-${PLANTUML_VERSION}.jar | ||||
USER jenkins | USER jenkins | ||||
RUN --mount=type=cache,id=pip-cache,target=/home/jenkins/.cache/pip,uid=115,gid=120 \ | RUN --mount=type=cache,id=pip-cache,target=/home/jenkins/.cache/pip,uid=115,gid=120 \ | ||||
python3 -m pip install --user --upgrade \ | python3 -m pip install --user --upgrade \ | ||||
pre-commit \ | pre-commit | ||||
&& chown jenkins:jenkins /home/jenkins/.cache |