зеркало из https://github.com/mozilla/MozDef.git
Remove unused sed line to change virtualenv path
This commit is contained in:
Родитель
6f2a0aa75d
Коммит
2d9d317c28
|
@ -135,10 +135,6 @@ RUN \
|
||||||
|
|
||||||
COPY docker/conf/initial_setup.py /opt/mozdef/envs/mozdef/docker/conf/initial_setup.py
|
COPY docker/conf/initial_setup.py /opt/mozdef/envs/mozdef/docker/conf/initial_setup.py
|
||||||
|
|
||||||
# We have to replace the python virtualenv path until
|
|
||||||
# https://github.com/mozilla/MozDef/issues/421 is fixed
|
|
||||||
RUN sed -i 's|/opt/mozdef/envs/mozdef/bin/activate|/opt/mozdef/envs/python/bin/activate|g' /opt/mozdef/envs/mozdef/cron/*.sh
|
|
||||||
|
|
||||||
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef
|
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef
|
||||||
|
|
||||||
# VOLUMES
|
# VOLUMES
|
||||||
|
|
|
@ -51,9 +51,6 @@ USER root
|
||||||
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef
|
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef
|
||||||
|
|
||||||
USER mozdef
|
USER mozdef
|
||||||
# We have to replace the python virtualenv path until
|
|
||||||
# https://github.com/mozilla/MozDef/issues/421 is fixed
|
|
||||||
RUN sed -i 's|/opt/mozdef/envs/mozdef/bin/activate|/opt/mozdef/envs/python/bin/activate|g' /opt/mozdef/envs/mozdef/cron/*.sh
|
|
||||||
|
|
||||||
RUN mkdir /opt/mozdef/envs/mozdef/data
|
RUN mkdir /opt/mozdef/envs/mozdef/data
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@ COPY docker/compose/mozdef_cron/files/healthAndStatus.conf /opt/mozdef/envs/mozd
|
||||||
COPY docker/compose/mozdef_cron/files/healthToMongo.conf /opt/mozdef/envs/mozdef/cron/healthToMongo.conf
|
COPY docker/compose/mozdef_cron/files/healthToMongo.conf /opt/mozdef/envs/mozdef/cron/healthToMongo.conf
|
||||||
COPY docker/compose/mozdef_cron/files/syncAlertsToMongo.conf /opt/mozdef/envs/mozdef/cron/syncAlertsToMongo.conf
|
COPY docker/compose/mozdef_cron/files/syncAlertsToMongo.conf /opt/mozdef/envs/mozdef/cron/syncAlertsToMongo.conf
|
||||||
|
|
||||||
# We have to replace the python virtualenv path until
|
|
||||||
# https://github.com/mozilla/MozDef/issues/421 is fixed
|
|
||||||
RUN sed -i 's|/opt/mozdef/envs/mozdef/bin/activate|/opt/mozdef/envs/python/bin/activate|g' /opt/mozdef/envs/mozdef/cron/*.sh
|
|
||||||
|
|
||||||
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/cron
|
RUN chown -R mozdef:mozdef /opt/mozdef/envs/mozdef/cron
|
||||||
|
|
||||||
USER mozdef
|
USER mozdef
|
||||||
|
|
Загрузка…
Ссылка в новой задаче