Skip to content

Commit bb70794

Browse files
committed
Correcting the pyinstaller command in centos6 Dockerfile
1 parent eebeac9 commit bb70794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/centos6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ VOLUME /data
176176
WORKDIR /hubble_build
177177
ENTRYPOINT [ "/bin/bash", "-o", "xtrace", "-c" ]
178178
CMD [ "if [ -f /data/hubble_buildinfo ] ; then echo \"\" >> /hubble_build/hubblestack/__init__.py ; cat /data/hubble_buildinfo >> /hubble_build/hubblestack/__init__.py; fi \
179-
&& pyinstaller --onedir --noconfirm --log-level ${_BINARY_LOG_LEVEL} --additional-hooks-dir=${_HOOK_DIR} --runtime-hook=pkg/pyinstaller-runtimehooks/pathopthubble.py hubble.py \
179+
&& 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' \
180180
&& mkdir -p /var/log/hubble_osquery/backuplogs \
181181
# hubble default configuration file
182182
&& cp -rf /hubble_build/conf/hubble /etc/hubble/ \

0 commit comments

Comments
 (0)