grafana/docker/buildcontainer/build_circle.sh
2015-03-07 13:58:28 +01:00

15 lines
325 B
Bash
Executable File

#!/bin/bash
docker info && docker version
mkdir -p ~/docker
# cache some Docker images to make builds faster
if [[ -e ~/docker/centos.tar ]]; then
docker load -i ~/docker/centos.tar;
else
docker build --tag "grafana/buildcontainer" docker/buildcontainer
docker save grafana/buildcontainer > ~/docker/centos.tar;
fi