Last active
March 1, 2018 19:46
-
-
Save JacobCallahan/4f09f161e6f3c9a5a9a46feccdf01337 to your computer and use it in GitHub Desktop.
Used to build RHEL 6, 7.2, 7.4 content host images as well as download suse images to be used in Satellite 6 testing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/JacobCallahan/content-host-d.git | |
cd content-host-d | |
eho "Building rhel images" | |
for i in rhel6 rhel7 rhel74; do | |
git checkout $i | |
docker build -t ch-d:$i . | |
done | |
echo "Downloading sles images" | |
for i in sles11 sles12 suse; do | |
docker pull jacobcallahan/content-host-d:$i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment