Initial support for CentOS 7

This commit is contained in:
Edgars Beigarts committed 2016-09-26 01:55:20 +03:00
1 parent cf901c9bcc
commit 0004dd53e1
11 files changed
+281 -11

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set +o posix # rpm uses /bin/sh that forces bash in posix mode
echo 'Starting docker'
systemctl start docker
sleep 5
count=`sudo docker images | grep gliderlabs/herokuish | wc -l`
if [ "$count" -ne 0 ]; then
echo 'Removing old herokuish image'
sudo docker rmi gliderlabs/herokuish
fi
echo 'Importing herokuish into docker (around 5 minutes)'
sudo docker build -t gliderlabs/herokuish /var/lib/herokuish 1> /dev/null