Skip to content

Commit

Permalink
fixed multiline public ssh keys
Browse files Browse the repository at this point in the history
  • Loading branch information
broizter committed Mar 4, 2024
1 parent 55c9ac1 commit 32429ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 32429ad

Please sign in to comment.