Alexey Ovchinnikov b8ce11524a Add tox job for building Docker image
Add new job 'buildimage-docker' which produces a compressed
image from which a Docker container can be started. This
container is designed to run Samba.

Change-Id: I499fa1850d3ad197cab5f742bfca1a9f074e9a8b
2016-04-15 15:09:07 +03:00

12 lines
217 B
Bash
Executable File

#!/bin/bash -xe
IMAGE=$1
if [ "$IMAGE" = "generic" ]; then
tox -v -e buildimage
elif [ "$IMAGE" = "lxd" ]; then
tox -v -e buildimage-lxd
elif [ "$IMAGE" = "docker" ]; then
tox -v -e buildimage-docker
fi