mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
docker for dev ready
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
FROM certat/intelmq-full:1.0
|
||||
FROM certat/intelmq-full:latest
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
MAINTAINER Einar <elanfranco@cert.unlp.edu.ar>
|
||||
MAINTAINER Jeremias <jpretto@cert.unlp.edu.ar>
|
||||
LABEL maintainer="Einar <elanfranco@csirtamericas.org>"
|
||||
LABEL maintainer="Jeremias <jpretto@cert.unlp.edu.ar>"
|
||||
LABEL maintainer="Mateo <mdurante@cert.unlp.edu.ar>"
|
||||
|
||||
ADD entrypoint_dev.sh /opt/dev/entrypoint_dev.sh
|
||||
ADD update.sh /opt/dev/update.sh
|
||||
ADD merge_BOTS.py /opt/dev/merge_BOTS.py
|
||||
WORKDIR /opt
|
||||
ADD entrypoint-dev.sh /opt/entrypoint-dev.sh
|
||||
ADD install_reqs_and_deploy_bots /opt/install_reqs_and_deploy_bots.sh
|
||||
RUN sudo chmod +x /opt/entrypoint-dev.sh \
|
||||
&& sudo chown intelmq:intelmq /opt/entrypoint-dev.sh
|
||||
RUN sudo chmod +x /opt/install_reqs_and_deploy_bots.sh \
|
||||
&& sudo chown intelmq:intelmq /opt/install_reqs_and_deploy_bots.sh
|
||||
|
||||
# Merge bots for merge_BOTS.py
|
||||
RUN sudo python3 -m pip install jsonmerge
|
||||
|
||||
|
||||
# Permission denied when installing new bots
|
||||
RUN sudo chown -R intelmq:intelmq /opt/intelmq/intelmq.egg-info
|
||||
|
||||
ENV PATH="/opt/intelmq/.local/bin:${PATH}"
|
||||
|
||||
ENTRYPOINT ["/opt/dev/entrypoint_dev.sh"]
|
||||
USER intelmq:intelmq
|
||||
|
||||
ENTRYPOINT [ "/opt/entrypoint-dev.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user