mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
fpga: Install content in /usr/local for the nlb-demo
Signed-off-by: Hector Augusto Garcia Baleon <hector.augusto.garcia.baleon@intel.com>
This commit is contained in:
parent
96622b5e55
commit
1e8719cebc
@ -43,13 +43,16 @@ RUN mkdir /install_root \
|
|||||||
|
|
||||||
# Minimal result image
|
# Minimal result image
|
||||||
FROM scratch as final
|
FROM scratch as final
|
||||||
|
ENV PATH="/usr/local/bin/:${PATH}"
|
||||||
COPY --from=builder /install_root /
|
COPY --from=builder /install_root /
|
||||||
|
|
||||||
# OPAE
|
# OPAE
|
||||||
# nlb0 and nlb3 examples
|
# nlb0 and nlb3 examples
|
||||||
COPY --from=builder /usr/src/opae/opae-sdk-*/build/bin/nlb* /usr/bin/
|
COPY --from=builder /usr/src/opae/opae-sdk-*/build/bin/nlb* /usr/local/bin/
|
||||||
# libxfpga.so, libopae-c*.so*
|
# libxfpga.so, libopae-c*.so*
|
||||||
COPY --from=builder /usr/src/opae/opae-sdk-*/build/lib/lib*.so* /usr/lib64/
|
COPY --from=builder /usr/src/opae/opae-sdk-*/build/lib/lib*.so* /usr/local/lib64/
|
||||||
|
|
||||||
COPY test_fpga.sh /usr/bin/
|
RUN echo /usr/local/lib64/ >> /etc/ld.so.conf && ldconfig
|
||||||
ENTRYPOINT ["/usr/bin/test_fpga.sh"]
|
|
||||||
|
COPY test_fpga.sh /usr/local/bin/
|
||||||
|
ENTRYPOINT ["/usr/local/bin/test_fpga.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user