aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/installers/Dockerfile.iavf-driver-installer
blob: 8d4593a64ba5878dd283780f388f10392ea36c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ubuntu:18.04

ENV IAVF_DRIVER_VERSION=4.0.2
ENV IAVF_DRIVER_DOWNLOAD_URL=https://downloadmirror.intel.com/30305/eng/iavf-${IAVF_DRIVER_VERSION}.tar.gz
ENV IAVF_INSTALL_DIR_HOST=/opt/iavf

RUN apt-get update && \
    apt-get install -y \
        bc \
        build-essential \
        curl \
        kmod \
        libelf-dev \
        libssl-dev \
        libudev-dev \
        pciutils \
        pkg-config \
        && \
    rm -rf /var/lib/apt/lists/*

COPY _common.sh /
COPY skb-frag-off.patch /
COPY entrypoint-iavf-driver-installer.sh /entrypoint.sh

CMD /entrypoint.sh