grim/containers/reviewboard

e1aaae52c85e
Parents 3090a4d7b1a0
Children cd6e1e51c0bf
Add everything so we can install ReviewBoard[saml]
--- a/Dockerfile Fri Sep 23 22:37:51 2022 -0500
+++ b/Dockerfile Fri Sep 23 23:01:34 2022 -0500
@@ -1,8 +1,25 @@
FROM docker.io/beanbag/reviewboard:5.0rc1 AS app
-# install rbjbhub
+COPY tzdata.selections /
+
+# Setup the time selections
+RUN set -ex && \
+ debconf-set-selections -v /tzdata.selections && \
+ ln -nsf /usr/share/zoneinfo/Etc/UTC /etc/localtime
+
+# Install dependencies for ReviewBoard[saml]
RUN set -ex && \
- pip install --no-cache rbjbhub
+ apt-get update && \
+ apt-get install -y --no-install-recommends \
+ build-essential pkg-config libxml2-dev libxmlsec1-dev libpython3-dev \
+ && \
+ apt-get autoremove --purge && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists
+
+# install rbjbhub and ReviewBoard[saml]
+RUN set -ex && \
+ pip install --no-cache rbjbhub ReviewBoard[saml]
FROM docker.io/nginx:1.21 AS nginx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tzdata.selections Fri Sep 23 23:01:34 2022 -0500
@@ -0,0 +1,3 @@
+tzdata tzdata/Zones/Etc select UTC
+tzdata tzdata/Areas select Etc
+