File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
docker/rootfs/etc/s6-overlay/s6-rc.d/prepare Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ const setupCertbotPlugins = () => {
131131 } ) ;
132132
133133 if ( plugins . length ) {
134- const install_cmd = '. /opt/certbot/bin/activate && pip install --no-cache-dir --user ' + plugins . join ( ' ' ) + ' && deactivate' ;
134+ const install_cmd = '. /opt/certbot/bin/activate && pip install --no-cache-dir ' + plugins . join ( ' ' ) + ' && deactivate' ;
135135 promises . push ( utils . exec ( install_cmd ) ) ;
136136 }
137137
Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ chown -R "$PUID:$PGID" /var/log/nginx
2222chown -R " $PUID :$PGID " /etc/nginx/nginx
2323chown -R " $PUID :$PGID " /etc/nginx/nginx.conf
2424chown -R " $PUID :$PGID " /etc/nginx/conf.d
25+
26+ # Prevents errors when installing python certbot plugins when non-root
27+ chown -R " $PUID :$PGID " /opt/certbot
You can’t perform that action at this time.
0 commit comments