Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
scripts
Commits
c8ac5505
Commit
c8ac5505
authored
Nov 25, 2020
by
Alexander A. Klimov
😎
Browse files
install-docker.sh: use registry mirror mirror.gcr.io
parent
7728a451
Pipeline
#14342
failed with stage
in 2 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
install-docker.sh
View file @
c8ac5505
#!/bin/sh
#!/bin/
ba
sh
#
# This script helps us to prepare a Docker host for the build system
#
...
...
@@ -12,6 +12,14 @@ run() {
(
set
-x
;
"
$@
"
)
}
sudo mkdir
-p
/etc/docker
cat
<<
EOF
|sudo tee /etc/docker/daemon.json >/dev/null
{
"registry-mirrors": ["https://mirror.gcr.io"]
}
EOF
echo
"Installing Docker via get.docker.com"
run curl
-LsS
https://get.docker.com
-o
/tmp/get-docker.sh
run sh /tmp/get-docker.sh
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment