From 95d6ee50316a6a0507efcca7e555ef4a0f631fd4 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Thu, 15 Jun 2023 12:02:56 +0100 Subject: [PATCH] Remove /root/.ssh before symlinking Ensure the symlinks are created correctly whether or not /root/.ssh already exists. --- test/integration/docker/deployer/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/docker/deployer/Dockerfile b/test/integration/docker/deployer/Dockerfile index 9e564678..11900139 100644 --- a/test/integration/docker/deployer/Dockerfile +++ b/test/integration/docker/deployer/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get update --fix-missing && apt-get install -y docker-ce docker-ce-cli c COPY *.sh . COPY app/ . +RUN rm -rf /root/.ssh RUN ln -s /shared/ssh /root/.ssh RUN mkdir -p /etc/docker/certs.d/registry:4443 && ln -s /shared/certs/domain.crt /etc/docker/certs.d/registry:4443/ca.crt