grafana/docker/buildcontainer/build_circle.sh

15 lines
325 B
Bash
Raw Normal View History

#!/bin/bash
2015-03-07 06:46:27 -06:00
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;
2015-03-07 06:46:27 -06:00
fi