mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
ci: workaround buildah errors
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
d1844b0342
commit
6c02ff51fc
@ -27,6 +27,8 @@ RUN mkdir /install_root \
|
||||
--no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/operator; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/operator \
|
||||
&& install -D /go/bin/operator /install_root/usr/local/bin/intel_deviceplugin_operator \
|
||||
|
@ -27,6 +27,8 @@ RUN mkdir /install_root \
|
||||
--no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/dsa_plugin; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/dsa_plugin \
|
||||
&& install -D /go/bin/dsa_plugin /install_root/usr/local/bin/intel_dsa_device_plugin \
|
||||
|
@ -27,6 +27,8 @@ RUN mkdir /install_root \
|
||||
--no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/fpga_admissionwebhook; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/fpga_admissionwebhook \
|
||||
&& install -D /go/bin/fpga_admissionwebhook /install_root/usr/local/bin/intel_fpga_admissionwebhook \
|
||||
|
@ -29,6 +29,8 @@ RUN mkdir /install_root \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
# Build CRI Hook
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd $DIR/cmd/fpga_crihook && \
|
||||
GO111MODULE=${GO111MODULE} go install && \
|
||||
chmod a+x /go/bin/fpga_crihook && \
|
||||
|
@ -27,6 +27,8 @@ RUN mkdir /install_root \
|
||||
--no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/fpga_plugin; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/fpga_plugin \
|
||||
&& install -D /go/bin/fpga_plugin /install_root/usr/local/bin/intel_fpga_device_plugin \
|
||||
|
@ -29,6 +29,8 @@ RUN mkdir /install_root \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
# Build NFD Feature Detector Hook
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd $DIR/cmd/gpu_nfdhook && \
|
||||
GO111MODULE=${GO111MODULE} go install -ldflags="-s -w" && \
|
||||
chmod a+x /go/bin/gpu_nfdhook && \
|
||||
|
@ -27,6 +27,8 @@ RUN mkdir /install_root \
|
||||
--no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/gpu_plugin; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/gpu_plugin \
|
||||
&& install -D /go/bin/gpu_plugin /install_root/usr/local/bin/intel_gpu_device_plugin \
|
||||
|
@ -41,6 +41,8 @@ RUN test -z "${TAGS_KERNELDRV}" \
|
||||
&& cd /usr/src/qat/quickassist/utilities/adf_ctl \
|
||||
&& make KERNEL_SOURCE_DIR=/usr/src/qat/quickassist/qat \
|
||||
&& install -D adf_ctl /install_root/usr/local/bin/adf_ctl )
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/qat_plugin; echo "build tags: ${TAGS_KERNELDRV}"; GO111MODULE=${GO111MODULE} go install -tags "${TAGS_KERNELDRV}"; cd -
|
||||
RUN chmod a+x /go/bin/qat_plugin \
|
||||
&& install -D /go/bin/qat_plugin /install_root/usr/local/bin/intel_qat_device_plugin \
|
||||
|
@ -29,6 +29,8 @@ RUN mkdir /install_root \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
# Build NFD Feature Detector Hook
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd $DIR/cmd/sgx_epchook && \
|
||||
GO111MODULE=${GO111MODULE} go install && \
|
||||
chmod a+x /go/bin/sgx_epchook && \
|
||||
|
@ -27,6 +27,8 @@ RUN mkdir /install_root \
|
||||
--no-boot-update \
|
||||
&& rm -rf /install_root/var/lib/swupd/*
|
||||
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/sgx_plugin; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/sgx_plugin \
|
||||
&& install -D /go/bin/sgx_plugin /install_root/usr/local/bin/intel_sgx_device_plugin \
|
||||
|
@ -25,6 +25,8 @@ ARG DIR=/intel-device-plugins-for-kubernetes
|
||||
ARG GO111MODULE=on
|
||||
WORKDIR $DIR
|
||||
COPY . .
|
||||
RUN mkdir -p /go/cache
|
||||
ENV GOCACHE=/go/cache
|
||||
RUN cd cmd/vpu_plugin; GO111MODULE=${GO111MODULE} go install; cd -
|
||||
RUN chmod a+x /go/bin/vpu_plugin \
|
||||
&& install -D /go/bin/vpu_plugin /install_root/usr/local/bin/intel_vpu_device_plugin \
|
||||
|
Loading…
Reference in New Issue
Block a user