mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Update src/server_manager/install_scripts/install_server.sh
Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
This commit is contained in:
parent
1a1db66bbe
commit
59f4321f35
1 changed files with 7 additions and 4 deletions
|
|
@ -158,10 +158,13 @@ function fetch() {
|
|||
}
|
||||
|
||||
function install_docker() {
|
||||
umask 0022
|
||||
(chmod a+r /usr/share/keyrings/docker-archive-keyring.gpg 2>/dev/null || true)
|
||||
(fetch https://get.docker.com/ | sh) >&2
|
||||
umask 0007
|
||||
(
|
||||
# Change umask so that /usr/share/keyrings/docker-archive-keyring.gpg has the right permissions.
|
||||
# See https://github.com/Jigsaw-Code/outline-server/issues/951.
|
||||
# We do this in a subprocess so the umask for the calling process is unaffected.
|
||||
umask 0022
|
||||
fetch https://get.docker.com/ | sh
|
||||
) >&2
|
||||
}
|
||||
|
||||
function start_docker() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue