initial
This commit is contained in:
32
Dockerfile
Normal file
32
Dockerfile
Normal file
@ -0,0 +1,32 @@
|
||||
FROM debian:latest
|
||||
|
||||
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
|
||||
LABEL ImageName="registry.hottis.de/dockerized/reviewboard-docker"
|
||||
LABEL AlternativeImageName="wollud1969/reviewboard-docker"
|
||||
|
||||
ENV DBHOST "mariadb"
|
||||
ENV DBNAME "reviewboard"
|
||||
ENV DBUSER "reviewboard"
|
||||
ENV DBPASS "geheim"
|
||||
ENV ADMINPASS "geheim"
|
||||
ARG RB_VERSION
|
||||
|
||||
|
||||
RUN \
|
||||
apt update && \
|
||||
apt install -y python curl build-essential python-dev libffi-dev libssl-dev patch libmariadbclient-dev cvs git-core subversion apache2 libapache2-mod-wsgi liboauth0 liboauth-dev python-oauth python-ldap && \
|
||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
|
||||
python 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
|
||||
|
||||
COPY start.sh /usr/local/sbin/
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD /usr/local/sbin/start.sh
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user