Bash update

This commit is contained in:
Andrei Condurachi 2020-11-27 12:45:53 +02:00
parent 901e11ea9a
commit 13c1dce568
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ RUN (crontab -l; echo "* * * * * cd /var/www/html;/usr/bin/php bin/grav schedule
RUN (crontab -l; echo "") | crontab - RUN (crontab -l; echo "") | crontab -
# Generate RSA keys to be able to use 'git clone' with a public key # Generate RSA keys to be able to use 'git clone' with a public key
RUN echo -e 'y' | ssh-keygen -t rsa -b 4096 -q -N "" -f ~/.ssh/id_rsa RUN echo -e 'y' | /usr/bin/ssh-keygen -t rsa -b 4096 -q -N "" -f ~/.ssh/id_rsa
# Make sure no one but the owner can read the private key # Make sure no one but the owner can read the private key
RUN chmod 600 ~/.ssh/id_rsa RUN chmod 600 ~/.ssh/id_rsa