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
d4688d
if [[ "$(docker images -q morevna/debian-i386:wheezy 2> /dev/null)" == "" ]]; then
d4688d
	bash ${SCRIPT_DIR}/build-base.sh
d4688d
fi
d4688d
380840
docker build -t morevna/build-debian-7-32 $DOCKER_BUILD_OPTIONS "$SCRIPT_DIR"