mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

initcontainer enables vfs and configures vfs - only first pf is used to configure a vf - only one vf is configured from the pf add dlb-initcontainer kustomize overlay update CRD to have initImage implment operator to run initcontainer update e2e test to run initcontainer overlay update envtest to test initimage Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
20 lines
356 B
Docker
20 lines
356 B
Docker
#include "final_base.docker"
|
|
#include "golang_base.docker"
|
|
|
|
FROM ${GOLANG_BASE} as builder
|
|
|
|
ARG DIR=/intel-device-plugins-for-kubernetes
|
|
WORKDIR $DIR
|
|
COPY . .
|
|
|
|
#include "toybox_build.docker"
|
|
|
|
FROM ${FINAL_BASE}
|
|
|
|
#include "default_labels.docker"
|
|
|
|
COPY --from=builder /install_root /
|
|
|
|
COPY demo/dlb-init.sh /usr/bin/
|
|
ENTRYPOINT [ "/bin/bash", "dlb-init.sh"]
|