aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/installers/Dockerfile.qat-driver-installer
blob: b85d0e2337003e07626fe1f8bd4c0ff21acd6480 (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 QAT_DRIVER_VERSION=1.7.l.4.12.0-00011
ENV QAT_DRIVER_DOWNLOAD_URL=https://01.org/sites/default/files/downloads/qat${QAT_DRIVER_VERSION}.tar.gz
ENV QAT_INSTALL_DIR_HOST=/opt/qat

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 _qat-driver-installer.sh /
COPY entrypoint-qat-driver-installer.sh /entrypoint.sh

CMD /entrypoint.sh