mistral/docker_image_build.sh
Andras Kovi 7b6d76659a Fixes the Mistral Docker image
Refactored to make the docker stuff self contained and removed the
unnecessary files from the root directory. Also created a readme file to
concretize how this feature works.

Also added an example script to set up Mistral with MySQL.

Closes-Bug: #1585911

Change-Id: I7fbcccb9d7ad168c5391e71326b205d074ab01ab
Signed-off-by: Andras Kovi <akovi@nokia.com>
2016-05-27 13:26:05 +02:00

17 lines
359 B
Bash
Executable File

#!/bin/bash -xe
# TODO (akovi): This script is needed practically only for the CI builds.
# Should be moved to some other place
# install docker
curl -fsSL https://get.docker.com/ | sh
sudo service docker restart
sudo -E docker pull ubuntu:14.04
# build image
sudo -E tools/docker/build.sh
sudo -E docker save mistral-all | gzip > mistral-docker.tar.gz