use pre-built ctr binaries

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2025-11-03 16:45:36 -07:00
parent 5b0b1049e5
commit 19b1cf2805
2 changed files with 5 additions and 1 deletions

View File

@ -137,6 +137,10 @@ ARG YQ_VERSION=v4.48.1
ADD docker/yq-installer.sh /usr/local/sbin
RUN chmod +x /usr/local/sbin/yq-installer.sh && yq-installer.sh
ARG CTR_VERSION=v2.0.4
ADD docker/ctr-installer.sh /usr/local/sbin
RUN chmod +x /usr/local/sbin/ctr-installer.sh && ctr-installer.sh
# controller requirements
#RUN apt-get update && \
# apt-get install -y ansible && \

View File

@ -99,7 +99,7 @@ COPY --from=build /PowerShell /PowerShell
COPY --from=build /app /app
WORKDIR /app
ADD https://github.com/democratic-csi/democratic-csi/releases/download/v1.0.0/ctr.exe ./bin
ADD https://github.com/democratic-csi/democratic-csi/releases/download/v1.0.0/ctr-v2.0.4-windows-amd64.exe ./bin/ctr.exe
COPY --from=build /nodejs/node.exe ./bin
COPY --from=build /usr/local/bin/ ./bin