grim/containers/reviewboard

Update to reviewboard 6.0

8 months ago, Gary Kramlich
8193f59d47ea
Update to reviewboard 6.0
FROM docker.io/beanbag/reviewboard:6.0 AS app
# Setup the time selections
COPY tzdata.selections /
RUN set -ex && \
debconf-set-selections -v /tzdata.selections && \
ln -nsf /usr/share/zoneinfo/Etc/UTC /etc/localtime
# install the missing library for saml
RUN set -ex && \
apt-get update && \
apt-get install -y --no-install-recommends libxmlsec1-openssl && \
apt-get clean && \
rm -rf /var/lib/apt/lists
# install rbjbhub
RUN set -ex && \
pip install --no-cache rbjbhub
FROM docker.io/nginx:1.25 AS nginx
COPY --from=app /venv/lib/python3.11/site-packages/reviewboard/htdocs /var/www/reviewboard/htdocs/
RUN set -ex && \
sed -i -s 's/101/1001/g' /etc/passwd && \
sed -i -s 's/101/1001/g' /etc/group