Skip to content

Commit e24fece

Browse files
authored
Merge pull request #1607 from hj-johannes-lee/PR-2023-029
dlb, idxd, qat: install LICENSE to initcontainer
2 parents cd82ff9 + 0706b5f commit e24fece

6 files changed

+6
-0
lines changed

build/docker/intel-dlb-initcontainer.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes
4040
WORKDIR $DIR
4141
COPY . .
42+
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
4243
ARG TOYBOX_VERSION="0.8.10"
4344
ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f1583549a"
4445
ARG ROOT=/install_root

build/docker/intel-idxd-config-initcontainer.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## limitations under the License.
1616
###
1717
FROM debian:unstable-slim
18+
COPY ./LICENSE /licenses/intel-device-plugins-for-kubernetes/LICENSE
1819
RUN apt-get update && apt-get install -y --no-install-recommends accel-config jq && rm -rf /var/lib/apt/lists/\*
1920
COPY demo/idxd-init.sh /usr/local/bin/
2021
COPY demo/dsa.conf /idxd-init/

build/docker/intel-qat-initcontainer.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes
4040
WORKDIR $DIR
4141
COPY . .
42+
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
4243
ARG TOYBOX_VERSION="0.8.10"
4344
ARG TOYBOX_SHA256="3c31e235fe87e74e6c6cf7cd7299fcbffb0f4a4834dae607aa26bb4f1583549a"
4445
ARG ROOT=/install_root

build/docker/templates/intel-dlb-initcontainer.Dockerfile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG DIR=/intel-device-plugins-for-kubernetes
77
WORKDIR $DIR
88
COPY . .
99

10+
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
1011
#include "toybox_build.docker"
1112

1213
FROM ${FINAL_BASE}

build/docker/templates/intel-idxd-config-initcontainer.Dockerfile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM debian:unstable-slim
22

3+
COPY ./LICENSE /licenses/intel-device-plugins-for-kubernetes/LICENSE
34
RUN apt-get update && apt-get install -y --no-install-recommends accel-config jq && rm -rf /var/lib/apt/lists/\*
45

56
COPY demo/idxd-init.sh /usr/local/bin/

build/docker/templates/intel-qat-initcontainer.Dockerfile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ARG DIR=/intel-device-plugins-for-kubernetes
77
WORKDIR $DIR
88
COPY . .
99

10+
RUN install -D ${DIR}/LICENSE /install_root/licenses/intel-device-plugins-for-kubernetes/LICENSE
1011
#include "toybox_build.docker"
1112

1213
FROM ${FINAL_BASE}

0 commit comments

Comments
 (0)