diff --git a/docker/Dockerfile b/docker/Dockerfile index 2069be4b..469fd76e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -135,10 +135,6 @@ RUN \ 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 # VOLUMES diff --git a/docker/compose/mozdef_base/Dockerfile b/docker/compose/mozdef_base/Dockerfile index 55e30676..a9bc69b7 100644 --- a/docker/compose/mozdef_base/Dockerfile +++ b/docker/compose/mozdef_base/Dockerfile @@ -51,9 +51,6 @@ USER root RUN chown -R mozdef:mozdef /opt/mozdef/envs/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 diff --git a/docker/compose/mozdef_cron/Dockerfile b/docker/compose/mozdef_cron/Dockerfile index 5fdb7037..03180048 100644 --- a/docker/compose/mozdef_cron/Dockerfile +++ b/docker/compose/mozdef_cron/Dockerfile @@ -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/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 USER mozdef