Add Docker support

This commit is contained in:
Michał Czeraszkiewicz
2016-05-21 11:08:14 +02:00
parent 9f56e4a582
commit 56471c2fe4
7 changed files with 116 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Stop on any error
set -e
script_directory="$( cd "$( dirname "$0" )" && pwd )"
project_directory=$script_directory/../..
# Specify the Docker image name
image_name='purpleidea/mgmt:development'
# Build the image
docker build -t $image_name \
--file=$project_directory/docker/Dockerfile.development $project_directory