intel-device-plugins-for-ku.../build/docker/templates/intel-dlb-initcontainer.Dockerfile.in
Hyeongju Johannes Lee 11b04425c2 dlb: add initcontainer to plugin
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>
2022-10-06 17:11:03 +03:00

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"]