File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- FROM fedora:28 as builder
2- RUN dnf update -y && \
3- dnf install -y wget make gcc-c++ findutils golang-bin && \
1+ FROM clearlinux:base as builder
2+
3+ RUN swupd bundle-add wget c-basic go-basic && \
44 mkdir -p /usr/src/qat && \
55 cd /usr/src/qat && \
66 wget https://01.org/sites/default/files/downloads/qat1.7.l.4.5.0-00034.tar.gz && \
77 tar xf *.tar.gz
88RUN cd /usr/src/qat/quickassist/utilities/adf_ctl && \
99 make KERNEL_SOURCE_DIR=/usr/src/qat/quickassist/qat && \
1010 cp -a adf_ctl /usr/bin/
11- ARG DIR=/root/ go/src/github.com/intel/intel-device-plugins-for-kubernetes
11+ ARG DIR=/go/src/github.com/intel/intel-device-plugins-for-kubernetes
1212WORKDIR $DIR
1313COPY . .
1414RUN cd cmd/qat_plugin; go install
15- RUN chmod a+x /root/ go/bin/qat_plugin
15+ RUN chmod a+x /go/bin/qat_plugin
1616
1717FROM gcr.io/distroless/cc
18- COPY --from=builder /root/ go/bin/qat_plugin /usr/bin/intel_qat_device_plugin
18+ COPY --from=builder /go/bin/qat_plugin /usr/bin/intel_qat_device_plugin
1919COPY --from=builder /usr/bin/adf_ctl /usr/bin/adf_ctl
2020CMD ["/usr/bin/intel_qat_device_plugin" ]
You can’t perform that action at this time.
0 commit comments