From bb70794df470986488f9c20bb6113d39eb7f7e32 Mon Sep 17 00:00:00 2001 From: yassingh Date: Mon, 3 Jun 2019 16:11:11 +0530 Subject: [PATCH] Correcting the pyinstaller command in centos6 Dockerfile --- pkg/centos6/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/centos6/Dockerfile b/pkg/centos6/Dockerfile index cde0311eb..5b071534f 100644 --- a/pkg/centos6/Dockerfile +++ b/pkg/centos6/Dockerfile @@ -176,7 +176,7 @@ VOLUME /data WORKDIR /hubble_build ENTRYPOINT [ "/bin/bash", "-o", "xtrace", "-c" ] CMD [ "if [ -f /data/hubble_buildinfo ] ; then echo \"\" >> /hubble_build/hubblestack/__init__.py ; cat /data/hubble_buildinfo >> /hubble_build/hubblestack/__init__.py; fi \ - && pyinstaller --onedir --noconfirm --log-level ${_BINARY_LOG_LEVEL} --additional-hooks-dir=${_HOOK_DIR} --runtime-hook=pkg/pyinstaller-runtimehooks/pathopthubble.py hubble.py \ + && scl enable python27 'pyinstaller --onedir --noconfirm --log-level ${_BINARY_LOG_LEVEL} --additional-hooks-dir=${_HOOK_DIR} --runtime-hook=pkg/pyinstaller-runtimehooks/pathopthubble.py hubble.py' \ && mkdir -p /var/log/hubble_osquery/backuplogs \ # hubble default configuration file && cp -rf /hubble_build/conf/hubble /etc/hubble/ \