mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 04:34:23 -06:00
15 lines
325 B
Bash
Executable File
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
|
|
|
|
|