##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r5546:50cf7822 merge v5.2.0 stable
r5551:5b9b5ed2 default
Show More
Dockerfile
39 lines | 918 B | text/x-dockerfile-config | DockerLexer
FROM python:3.12.0-bullseye
WORKDIR /project
RUN apt-get update \
&& apt-get install --no-install-recommends --yes \
curl \
zip \
graphviz \
dvipng \
imagemagick \
make \
latexmk \
texlive-latex-recommended \
texlive-latex-extra \
texlive-xetex \
fonts-freefont-otf \
texlive-fonts-recommended \
texlive-lang-greek \
tex-gyre \
&& apt-get autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf ./aws && \
rm awscliv2.zip
RUN \
python3 -m pip install --no-cache-dir --upgrade pip && \
python3 -m pip install --no-cache-dir Sphinx Pillow
ADD requirements_docs.txt /project
RUN \
python3 -m pip install -r requirements_docs.txt
CMD ["sphinx-build", "-M", "html", ".", "_build"]