when I build the osquery package first, that runs and completes. When copying the osquery_4hubble.tar to pkg/ubuntu1804/ (copy of pkg/debian10/) and running docker build -t 'ubuntu:bionic' . it gets to the following step and fails:
[zach@atreides:~/hubble/pkg/ubuntu1804/tmp]$ docker build -t 'ubuntu:bionic' .
...
Step 31/49 : RUN /opt/osquery/osqueryi --version
---> Running in 101b428b975b
/bin/sh: 1: /opt/osquery/osqueryi: not found
The command '/bin/sh -c /opt/osquery/osqueryi --version' returned a non-zero code: 127
and fails when it tries to run /opt/osquery/osqueryi which doesn't exist in the tarball that gets made in the previous step. Here are the contents of the osquery_4hubble.tar file. Notice that osqueryi is not in the tarball that gets made.
Hello,
when I build the osquery package first, that runs and completes. When copying the
osquery_4hubble.tar
topkg/ubuntu1804/
(copy ofpkg/debian10/
) and runningdocker build -t 'ubuntu:bionic' .
it gets to the following step and fails:https://github.com/hubblestack/hubble/blob/6456af53c5eff10a7ca91ecba4abdbfe18e8084e/pkg/debian10/Dockerfile#L121
and fails when it tries to run
/opt/osquery/osqueryi
which doesn't exist in the tarball that gets made in the previous step. Here are the contents of theosquery_4hubble.tar
file. Notice thatosqueryi
is not in the tarball that gets made.Please note that I copied the
hubble/pkg/debian10/
folder tohubble/pkg/ubuntu1804/
and changed theFROM debian:10
toFROM ubuntu:bionic
.