mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
26 lines
1.1 KiB
Docker
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"]
|