next try
This commit is contained in:
parent
d2915b6bd7
commit
597fa7fbe6
12
Dockerfile
12
Dockerfile
@ -17,13 +17,11 @@ ARG RB_VERSION
|
||||
|
||||
RUN \
|
||||
apt update && \
|
||||
apt install -y python3 curl build-essential python3-dev libffi-dev libssl-dev patch libmariadbclient-dev cvs git-core subversion apache2 libapache2-mod-wsgi liboauth0 liboauth-dev python3-oauth python3-ldap python3-subvertpy && \
|
||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
|
||||
python3 get-pip.py && \
|
||||
pip install -U pip setuptools && \
|
||||
pip install -U mysqlclient && \
|
||||
pip install -U mercurial && \
|
||||
pip install ReviewBoard${RB_VERSION} django-storages==1.1.8 oauthlib==1.0.1
|
||||
apt install -y python3 curl build-essential python3-dev libffi-dev libssl-dev patch libmariadbclient-dev cvs git-core subversion apache2 libapache2-mod-wsgi liboauth0 liboauth-dev python3-oauth python3-ldap python3-subvertpy python3-pip && \
|
||||
pip3 install -U pip setuptools && \
|
||||
pip3 install -U mysqlclient && \
|
||||
pip3 install -U mercurial && \
|
||||
pip3 install ReviewBoard${RB_VERSION} django-storages==1.1.8 oauthlib==1.0.1
|
||||
|
||||
COPY start.sh /usr/local/sbin/
|
||||
|
||||
|
2
start.sh
2
start.sh
@ -2,7 +2,7 @@
|
||||
|
||||
update-ca-certificates
|
||||
|
||||
rb-site install --noinput --site-root "$SITEROOT" --opt-out-support-data --domain=reviews --db-type=mysql --db-name=reviewboard --db-host="$DBHOST" --db-user="$DBUSER" --db-pass="$DBPASS" --cache-type=file --cache-info=/var/cache/reviewboard --web-server-type=apache --web-server-port=80 --admin-user=admin --admin-password="$ADMINPASS" /var/www/reviewboard
|
||||
# rb-site install --noinput --site-root "$SITEROOT" --opt-out-support-data --domain=reviews --db-type=mysql --db-name=reviewboard --db-host="$DBHOST" --db-user="$DBUSER" --db-pass="$DBPASS" --cache-type=file --cache-info=/var/cache/reviewboard --web-server-type=apache --web-server-port=80 --admin-user=admin --admin-password="$ADMINPASS" /var/www/reviewboard
|
||||
|
||||
mkdir -p /var/cache/reviewboard
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user