diff --git a/Dockerfile b/Dockerfile index 16817ac..901cbec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \ diff --git a/Dockerfile.Windows b/Dockerfile.Windows index 0c0c2a0..0fca523 100644 --- a/Dockerfile.Windows +++ b/Dockerfile.Windows @@ -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