summaryrefslogtreecommitdiffstats
path: root/clover/clovisor/Dockerfile
blob: 4df4ee5ce7666c6becd91d86e9b2b0c8ea516d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ubuntu:18.04

ARG TARGET_KERNEL_VER

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 \
    linux-headers-$TARGET_KERNEL_VER \
    libelf1;

COPY . .
RUN chmod +x clovisor

CMD ["./clovisor"]