intel-device-plugins-for-ku.../build/docker/intel-idxd-config-initcontainer.Dockerfile
Hyeongju Johannes Lee 0706b5fbc6 dlb, idxd, qat: install LICENSE to initcontainer
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-12-14 11:15:18 -08:00

26 lines
1.1 KiB
Docker

## This is a generated file, do not edit directly. Edit build/docker/templates/intel-idxd-config-initcontainer.Dockerfile.in instead.
##
## Copyright 2022 Intel Corporation. All Rights Reserved.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## 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/
COPY demo/iaa.conf /idxd-init/
RUN mkdir /idxd-init/scratch
WORKDIR /idxd-init
ENTRYPOINT ["/usr/local/bin/idxd-init.sh"]