From c54854d08b55437298154de8b7512df37a17ee3d Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Tue, 30 Nov 2021 08:20:29 +0530 Subject: [PATCH] build: add pv-migrator binary to rook image in 1.7.x branch Adding add pv-migrator binary to rook image directly in 1.7.x branch as discussed. Signed-off-by: subhamkrai --- images/ceph/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/images/ceph/Dockerfile b/images/ceph/Dockerfile index 5e66b9bbb432b..b99df14dfeb03 100644 --- a/images/ceph/Dockerfile +++ b/images/ceph/Dockerfile @@ -20,7 +20,11 @@ ARG TINI_VERSION # Run tini as PID 1 and avoid signal handling issues RUN curl --fail -sSL -o /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH} && \ - chmod +x /tini + chmod +x /tini && \ + curl -LJO https://github.com/ceph/persistent-volume-migrator/releases/download/v0.1.0-alpha/pv-migrator && \ + chmod +x pv-migrator && \ + install pv-migrator usr/local/bin/pv-migrator && \ + rm pv-migrator COPY rook rookflex toolbox.sh set-ceph-debug-level /usr/local/bin/ COPY ceph-csi /etc/ceph-csi