File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
4949COPY --from=builder /install_root /
5050ENV PATH=/usr/local/bin
5151ENTRYPOINT ["/usr/local/bin/intel_qat_device_plugin" ]
Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ ARG BUILDFLAGS="-ldflags=-w -s"
2828WORKDIR $DIR
2929COPY . .
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
3232RUN apt update && apt -y install dpkg-dev libusb-1.0-0-dev
3333RUN 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 -
3737RUN cd cmd/vpu_plugin; GO111MODULE=${GO111MODULE} CGO_ENABLED=1 go install "${BUILDFLAGS}" ; cd -
3838RUN 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
4343RUN apt update && apt -y install libusb-1.0-0
4444COPY --from=builder /install_root /
4545ENTRYPOINT ["/usr/local/bin/intel_vpu_device_plugin" ]
You can’t perform that action at this time.
0 commit comments