Blame docker/debian-7-32bit/build.sh

10e43d
#!/bin/bash
10e43d
e7b20d
SCRIPT_DIR=$(cd `dirname "$0"`; pwd)
684785
BASE_DIR=`dirname "$SCRIPT_DIR"`
8fa589
BASE_DIR=`dirname "$BASE_DIR"`
684785
684785
CONFIG_FILE="$BASE_DIR/config.sh"
684785
PACKET_BUILD_DIR="$BUILD_DIR/packet"
684785
SCRIPT_BUILD_DIR="$BUILD_DIR/script"
684785
if [ -f $CONFIG_FILE ]; then
684785
	source $CONFIG_FILE
684785
fi
684785
mkdir -p $PACKET_BUILD_DIR
10e43d
2ea947
if [[ "$(docker images -q morevnaproject/debian-i386:wheezy 2> /dev/null)" == "" ]]; then
d4688d
	bash ${SCRIPT_DIR}/build-base.sh
d4688d
fi
d4688d
2ea947
docker build -t morevnaproject/builder-32:debian7 $DOCKER_BUILD_OPTIONS "$SCRIPT_DIR"