aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/installers/Dockerfile.iavf-driver-installer
blob: 9882c2f735ea89666427b54e6a829ab9a5da0fbd (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
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 entrypoint-iavf-driver-installer.sh /entrypoint.sh

CMD /entrypoint.sh