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

Commit

Permalink
FIX: permissions update to ssl certificates directory in container
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoguido committed Apr 26, 2020
1 parent c013906 commit 84b8b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/workspace/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ RUN usermod -u 1000 www-data \
COPY ssl-certificates /etc/ssl/certificates/
COPY ssh-keys /root/.ssh/host-keys/

RUN chmod 644 /etc/ssl/certificates/*
RUN chmod -R 644 /etc/ssl/certificates
RUN if [find "/root/.ssh/host-keys" -mindepth 1 -print -quit 2>/dev/null | grep -q .]; then \
chmod 600 /root/.ssh/host-keys/id_rsa \
&& chmod 644 /root/.ssh/host-keys/id_rsa.pub \
Expand Down

0 comments on commit 84b8b02

Please sign in to comment.