Skip to content

Commit 2d4faa1

Browse files
database: install mailgen before certbund-contact
mailgen is a dependency for certbund-contact, so install it before previously, mailgen was pulled from PyPI at the installation for certbund-contact and then locally overridden
1 parent 49882f2 commit 2d4faa1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

database/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,15 @@ WORKDIR /opt/intelmq
2525
RUN git config --global --add safe.directory /opt/intelmq
2626
RUN git checkout $INTELMQ_REVISION && pip3 install --break-system-packages -e .
2727

28-
WORKDIR /opt
29-
30-
# Clone the certbund-contact repo to have the tools for filling the database.
31-
RUN git clone https://github.com/Intevation/intelmq-certbund-contact.git
32-
3328
# install mailgen to get the notifications.sql file, and dependency for certbund-contact
3429
WORKDIR /opt
3530
# Clone the Mailgen repo
3631
RUN git clone https://github.com/intevation/intelmq-mailgen.git
3732
RUN cd /opt/intelmq-mailgen && git checkout $INTELMQ_MAILGEN_REVISION && pip3 install --break-system-packages -e .
3833

34+
# Clone the certbund-contact repo to have the tools for filling the database.
35+
WORKDIR /opt
36+
RUN git clone https://github.com/Intevation/intelmq-certbund-contact.git
3937
# Install on the repo
4038
RUN cd intelmq-certbund-contact && git checkout $INTELMQ_CERTBUND_CONTACT_REVISION && pip3 install --break-system-packages -e .
4139

0 commit comments

Comments
 (0)