Skip to content
Snippets Groups Projects
Commit 7031b5c9 authored by Markus Frosch's avatar Markus Frosch
Browse files

Add new instal-docker script

parent 1844a77f
No related branches found
No related tags found
No related merge requests found
Pipeline #4364 failed
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment