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
7031b5c9
Commit
7031b5c9
authored
Jul 23, 2019
by
Markus Frosch
Browse files
Add new instal-docker script
parent
1844a77f
Pipeline
#4364
failed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
install-docker.sh
0 → 100644
View file @
7031b5c9
#!/bin/sh
#
# This script helps us to prepare a Docker host for the build system
#
# It is used with Docker Machine to install Docker, plus addons
#
# See --engine-install-url at docker-machine create --help
set
-e
run
()
{
(
set
-x
;
"
$@
"
)
}
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
echo
"Installing QEMU and helpers"
run
sudo
apt-get update
run
sudo
apt-get
install
-y
qemu-user-static binfmt-support
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