diff options
Diffstat (limited to 'clover/clovisor/Dockerfile')
-rw-r--r-- | clover/clovisor/Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/clover/clovisor/Dockerfile b/clover/clovisor/Dockerfile new file mode 100644 index 0000000..06ddd23 --- /dev/null +++ b/clover/clovisor/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:18.04 + +# the following is the Linux version for GKE for k8s 1.11.4-gke.8 +ARG TARGET_KERNEL_VER="linux-headers-4.15.0-1023-gcp" + +RUN set -ex; \ + echo "deb [trusted=yes] http://repo.iovisor.org/apt/bionic bionic main" > /etc/apt/sources.list.d/iovisor.list; \ + apt-get update -y; \ + DEBIAN_FRONTEND=noninteractive apt-get install -y \ + auditd \ + bcc-tools \ + $TARGET_KERNEL_VER \ + libelf1; + +COPY . . +COPY bin/clovisor . +RUN chmod +x clovisor + +CMD ["./clovisor"] |