File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,9 @@ RUN eval "$(pyenv init -)" \
154
154
&& pip -v install -r pyinstaller-requirements.txt
155
155
156
156
# fpm package making requirements start
157
- RUN yum install -y rpmbuild rpm-build gcc make rh-ruby23 rh-ruby23-ruby-devel \
158
- && scl enable rh-ruby23 "gem install --no-ri --no-rdoc fpm"
157
+ RUN yum install -y centos-release-scl scl-utils
158
+ RUN yum install -y rpmbuild rpm-build gcc make rh-ruby23 rh-ruby23-ruby-devel
159
+ RUN scl enable rh-ruby23 "gem install --no-ri --no-rdoc fpm"
159
160
160
161
# pyinstaller start
161
162
# commands specified for ENTRYPOINT and CMD are executed when the container is run, not when the image is built
@@ -184,7 +185,7 @@ WORKDIR /hubble_build
184
185
ENTRYPOINT [ "/bin/bash" , "-o" , "xtrace" , "-c" ]
185
186
CMD [ "if [ -f /data/hubble_buildinfo ] ; then echo \"\" >> /hubble_build/hubblestack/__init__.py ; cat /data/hubble_buildinfo >> /hubble_build/hubblestack/__init__.py; fi \
186
187
&& eval \" $(pyenv init -)\" \
187
- && python27 ' pyinstaller --onedir --noconfirm --log-level ${_BINARY_LOG_LEVEL} --additional-hooks-dir=${_HOOK_DIR} --runtime-hook=pkg/pyinstaller-runtimehooks/pathopthubble.py hubble.py' \
188
+ && pyinstaller --onedir --noconfirm --log-level ${_BINARY_LOG_LEVEL} --additional-hooks-dir=${_HOOK_DIR} --runtime-hook=pkg/pyinstaller-runtimehooks/pathopthubble.py hubble.py \
188
189
&& mkdir -p /var/log/hubble_osquery/backuplogs \
189
190
# hubble default configuration file
190
191
&& cp -rf /hubble_build/conf/hubble /etc/hubble/ \
You can’t perform that action at this time.
0 commit comments