From 2bfec1e484d2df69d1a543928d6b7e4f3f7f96e4 Mon Sep 17 00:00:00 2001 From: Brandon Myers Date: Sat, 29 Jun 2019 01:21:25 -0500 Subject: [PATCH] Temporarily modify configlib file --- docker/compose/mozdef_base/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/compose/mozdef_base/Dockerfile b/docker/compose/mozdef_base/Dockerfile index 55b56761..624150ac 100644 --- a/docker/compose/mozdef_base/Dockerfile +++ b/docker/compose/mozdef_base/Dockerfile @@ -62,3 +62,7 @@ VOLUME /opt/mozdef/envs/mozdef/data ENV PATH=/opt/mozdef/envs/python/bin:$PATH USER root + +# Remove once https://github.com/jeffbryner/configlib/pull/9 is mergeg +# and a new version of configlib is in place +RUN sed -i 's/from configlib import getConfig/from .configlib import getConfig/g' /opt/mozdef/envs/python/lib/python3.6/site-packages/configlib/__init__.py \ No newline at end of file