Skip to content

Commit 3a35a75

Browse files
authored
Merge pull request #717 from mythi/PR-2021-047
vpu: use debian unstable as base
2 parents b5ee52c + 1fc087e commit 3a35a75

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/docker/intel-qat-plugin-kerneldrv.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN chmod a+x /go/bin/qat_plugin \
4545
&& install -D ${DIR}/LICENSE /install_root/usr/local/share/package-licenses/intel-device-plugins-for-kubernetes/LICENSE \
4646
&& scripts/copy-modules-licenses.sh ./cmd/qat_plugin /install_root/usr/local/share/
4747

48-
FROM debian:buster-slim
48+
FROM debian:unstable-slim
4949
COPY --from=builder /install_root /
5050
ENV PATH=/usr/local/bin
5151
ENTRYPOINT ["/usr/local/bin/intel_qat_device_plugin"]

build/docker/intel-vpu-plugin.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ ARG BUILDFLAGS="-ldflags=-w -s"
2828
WORKDIR $DIR
2929
COPY . .
3030

31-
RUN echo "deb-src http://deb.debian.org/debian buster main" | tee -a /etc/apt/sources.list
31+
RUN echo "deb-src http://deb.debian.org/debian unstable main" | tee -a /etc/apt/sources.list
3232
RUN apt update && apt -y install dpkg-dev libusb-1.0-0-dev
3333
RUN mkdir -p /install_root/usr/local/share/package-sources/libusb \
3434
&& cd /install_root/usr/local/share/package-sources/libusb \
35-
&& apt source libusb-1.0-0 \
35+
&& apt-get --download-only source libusb-1.0-0 \
3636
&& cd -
3737
RUN cd cmd/vpu_plugin; GO111MODULE=${GO111MODULE} CGO_ENABLED=1 go install "${BUILDFLAGS}"; cd -
3838
RUN install -D /go/bin/vpu_plugin /install_root/usr/local/bin/intel_vpu_device_plugin \
3939
&& install -D ${DIR}/LICENSE /install_root/usr/local/share/package-licenses/intel-device-plugins-for-kubernetes/LICENSE \
4040
&& scripts/copy-modules-licenses.sh ./cmd/vpu_plugin /install_root/usr/local/share/
4141

42-
FROM debian:buster-slim
42+
FROM debian:unstable-slim
4343
RUN apt update && apt -y install libusb-1.0-0
4444
COPY --from=builder /install_root /
4545
ENTRYPOINT ["/usr/local/bin/intel_vpu_device_plugin"]

0 commit comments

Comments
 (0)