grafana/devenv/docker/buildcontainer/build_circle.sh
2018-09-17 11:10:03 +02: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