dlb, idxd, qat: install LICENSE to initcontainer

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
This commit is contained in:
Hyeongju Johannes Lee 2023-12-04 06:51:40 -08:00
parent 36b5bf562e
commit 0706b5fbc6
6 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,7 @@ FROM ${GOLANG_BASE} as builder
ARG DIR=/intel-device-plugins-for-kubernetes
WORKDIR $DIR
COPY . .
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
ARG TOYBOX_VERSION="0.8.10"
ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f1583549a"
ARG ROOT=/install_root

View File

@ -15,6 +15,7 @@
## limitations under the License.
###
FROM debian:unstable-slim
COPY ./LICENSE /licenses/intel-device-plugins-for-kubernetes/LICENSE
RUN apt-get update && apt-get install -y --no-install-recommends accel-config jq && rm -rf /var/lib/apt/lists/\*
COPY demo/idxd-init.sh /usr/local/bin/
COPY demo/dsa.conf /idxd-init/

View File

@ -39,6 +39,7 @@ FROM ${GOLANG_BASE} as builder
ARG DIR=/intel-device-plugins-for-kubernetes
WORKDIR $DIR
COPY . .
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
ARG TOYBOX_VERSION="0.8.10"
ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f1583549a"
ARG ROOT=/install_root

View File

@ -7,6 +7,7 @@ ARG DIR=/intel-device-plugins-for-kubernetes
WORKDIR $DIR
COPY . .
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
#include "toybox_build.docker"
FROM ${FINAL_BASE}

View File

@ -1,5 +1,6 @@
FROM debian:unstable-slim
COPY ./LICENSE /licenses/intel-device-plugins-for-kubernetes/LICENSE
RUN apt-get update && apt-get install -y --no-install-recommends accel-config jq && rm -rf /var/lib/apt/lists/\*
COPY demo/idxd-init.sh /usr/local/bin/

View File

@ -7,6 +7,7 @@ ARG DIR=/intel-device-plugins-for-kubernetes
WORKDIR $DIR
COPY . .
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
#include "toybox_build.docker"
FROM ${FINAL_BASE}