Skip to content
Snippets Groups Projects
Commit aa927a9d authored by jurgenhaas's avatar jurgenhaas
Browse files

Fix installation of custom plugin

parent d8223d46
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,11 @@ FROM alerta/alerta-web
USER root
COPY ./plugins/*.py /tmp/plugins/
RUN /venv/bin/pip install python-gitlab && \
/venv/bin/python3 /tmp/plugins/setup_alerta_gitlab.py install && \
/venv/bin/python3 /tmp/plugins/setup_alerta_elastalert.py install && \
cd /tmp/plugins && \
/venv/bin/python3 setup_alerta_gitlab.py install && \
/venv/bin/python3 setup_alerta_elastalert.py install && \
cp alerta_gitlab.py /venv/lib/python3.7/site-packages/ && \
cp alerta_elastalert.py /venv/lib/python3.7/site-packages/ && \
echo "Done"
USER 1001
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment