diff --git a/Dockerfile b/Dockerfile index c5218a6..3059f93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/ EXPOSE 22 -CMD ["/bin/bash", "-c", "echo "$SSH_PUBLIC_KEY" > /root/.ssh/authorized_keys; /usr/sbin/sshd -D"] +CMD ["/bin/bash", "-c", "echo \"$SSH_PUBLIC_KEY\" > /root/.ssh/authorized_keys; /usr/sbin/sshd -D"]