Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from marcoguido/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
marcoguido authored Aug 12, 2020
2 parents 519b0f0 + b706ae5 commit a366651
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/workspace/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,11 @@ RUN usermod -u 1000 www-data \
COPY ssl-certificates /etc/ssl/certificates/
COPY ssh-keys/ /root/.ssh/

RUN chmod -R 644 /etc/ssl/certificates/*

RUN if [ $(ls -1 /etc/ssl/certificates/*.crt 2>/dev/null | wc -l) != 0 ]; then \
chmod -R 644 /etc/ssl/certificates/* \
;fi

RUN if [ $(ls -1 /root/.ssh/id_rsa* 2>/dev/null | wc -l) != 0 ]; then \
chmod 600 /root/.ssh/id_rsa \
&& chmod 644 /root/.ssh/id_rsa.pub \
Expand Down

0 comments on commit a366651

Please sign in to comment.