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
|
||||
FROM scratch as final
|
||||
ENV PATH="/usr/local/bin/:${PATH}"
|
||||
COPY --from=builder /install_root /
|
||||
|
||||
# OPAE
|
||||
# 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*
|
||||
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/
|
||||
ENTRYPOINT ["/usr/bin/test_fpga.sh"]
|
||||
RUN echo /usr/local/lib64/ >> /etc/ld.so.conf && ldconfig
|
||||
|
||||
COPY test_fpga.sh /usr/local/bin/
|
||||
ENTRYPOINT ["/usr/local/bin/test_fpga.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user