grim/containers/reviewboard
Clone
Summary
Browse
Changes
Graph
Update to reviewboard 3.0.20
2021-02-17, Gary Kramlich
e6f78553ae9c
Update to reviewboard 3.0.20
FROM
debian:buster-slim
MAINTAINER
grim@reaperworld.com
ENV
RB_VERSION
3
.0.20
# install the dependencies for reviewboard
RUN
apt-get
update
-y
&&
\
apt-get
install
--no-install-recommends
-y
\
build-essential
python-dev
libffi-dev
libssl-dev
patch
\
python-pip
python-setuptools
python-wheel
python-virtualenv
\
uwsgi
uwsgi-plugin-python
\
postgresql-client
\
python-psycopg2
python-ldap
\
git-core
mercurial
subversion
python-svn
\
&&
\
apt-get
clean
&&
\
rm
-rf
/var/lib/apt/lists/*
# install reviewboard
RUN
set
-ex
&&
\
python
-m
virtualenv
--system-site-packages
/opt/venv
&&
\
.
/opt/venv/bin/activate
&&
\
pip
install
\
"ReviewBoard==
${
RB_VERSION
}
"
\
django-storages
==
1
.1.8
\
oauthlib
==
1
.0.1
\
semver
\
&&
\
rm
-rf
/root/.cache
# additional housekeeping
ENV
PATH
=
"/opt/venv/bin:
${
PATH
}
"
COPY
start.sh
uwsgi.ini
shell.sh
upgrade-site.py
/
EXPOSE
8000
CMD
[
"/start.sh"
]
# install rbjbhub and rbintegrations 2.0beta1
RUN
set
-e
&&
\
.
/opt/venv/bin/activate
&&
\
set
-x
&&
\
python
-m
pip
install
-U
\
rbjbhub
\
https://downloads.reviewboard.org/releases/rbintegrations/2.0/rbintegrations-2.0b1-py2.py3-none-any.whl#md5
=
df8fa4b93e13a17d99500a5bdd14d483