grim/containers/reviewboard

Parents 6fd836cd3c28
Children e6f78553ae9c
Turns out we can just install rbintegrations 2.0beta1 from a wheel url
  • +2 -10
    Dockerfile
  • --- a/Dockerfile Sat Jan 09 19:45:21 2021 -0600
    +++ b/Dockerfile Sat Jan 09 19:54:29 2021 -0600
    @@ -37,19 +37,11 @@
    CMD ["/start.sh"]
    -# install rbjbhub and rbintegrations 2.0beta1, which means we temporariliy
    -# need npm
    +# install rbjbhub and rbintegrations 2.0beta1
    RUN set -e && \
    - apt-get update && \
    - apt-get install -y --no-install-recommends npm && \
    - apt-get clean && \
    - rm -rf /var/lib/apt/lists && \
    . /opt/venv/bin/activate && \
    set -x && \
    python -m pip install -U \
    rbjbhub \
    - git+https://github.com/reviewboard/rbintegrations.git@release-2.0beta1#egg=rbintegrations \
    - && \
    - apt-get remove -y --purge npm && \
    - apt-get autoremove -y --purge
    + https://downloads.reviewboard.org/releases/rbintegrations/2.0/rbintegrations-2.0b1-py2.py3-none-any.whl#md5=df8fa4b93e13a17d99500a5bdd14d483