Skip to content

Commit 6c80c07

Browse files
authored
Merge pull request #1761 from tkatila/idxd-accelconfig-sources
idxd: include accel-config sources in the image
2 parents c7f6665 + 996e956 commit 6c80c07

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
###
1717
FROM debian:unstable-slim
1818
COPY ./LICENSE /licenses/intel-device-plugins-for-kubernetes/LICENSE
19+
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list.d/deb-src.list
1920
RUN apt-get update && apt-get install -y --no-install-recommends accel-config jq && rm -rf /var/lib/apt/lists/\*
21+
RUN cd /licenses/intel-device-plugins-for-kubernetes && apt-get source --download-only -y accel-config
2022
COPY demo/idxd-init.sh /usr/local/bin/
2123
COPY demo/dsa.conf /idxd-init/
2224
COPY demo/iaa.conf /idxd-init/

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

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
FROM debian:unstable-slim
22

33
COPY ./LICENSE /licenses/intel-device-plugins-for-kubernetes/LICENSE
4+
5+
RUN echo "deb-src http://deb.debian.org/debian unstable main" >> \
6+
/etc/apt/sources.list.d/deb-src.list
7+
48
RUN apt-get update && apt-get install -y --no-install-recommends accel-config jq && rm -rf /var/lib/apt/lists/\*
9+
RUN cd /licenses/intel-device-plugins-for-kubernetes && apt-get source --download-only -y accel-config
510

611
COPY demo/idxd-init.sh /usr/local/bin/
712
COPY demo/dsa.conf /idxd-init/

0 commit comments

Comments
 (0)