Remove unused sed line to change virtualenv path

This commit is contained in:
Brandon Myers 2018-04-20 13:20:36 -05:00
Родитель 6f2a0aa75d
Коммит 2d9d317c28
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 8AA79AD83045BBC7
3 изменённых файлов: 0 добавлений и 11 удалений

Просмотреть файл

@ -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