[scripts/iso_build.sh] cleanup and pull phase is useless now

This commit is contained in:
mudler
2016-06-03 20:15:36 +02:00
parent 185164286e
commit de017e4e6f

View File

@@ -360,10 +360,6 @@ build_spinbase() {
local undocker_output_directory=${2-sources/amd64-docker-spinbase}
echo "Building Spinbase with Docker image: "${docker_image}
docker_clean
# Pulling the image from docker (should be squashed in 1 layer)
docker pull "${docker_image}" || return 1
# Cleaning previous generation
if [ -z "${undocker_output_directory}" ] || [ -z "${SABAYON_MOLECULE_HOME}" ]; then
echo "SABAYON_MOLECULE_HOME or undocker_output_directory not set, this is bad"
@@ -373,7 +369,6 @@ build_spinbase() {
echo "Exporting the Docker image in: " ${SABAYON_MOLECULE_HOME}/${undocker_output_directory}
curl -s https://api.github.com/repos/mudler/docker-companion/releases/latest \
| grep "browser_download_url.*amd64" \
| cut -d : -f 2,3 \