Blame docker-builder-i386/build.sh

10e43d
#!/bin/bash
10e43d
10e43d
SCRIPT_FILE=`realpath "$0"`
10e43d
SCRIPT_DIR=`dirname "$SCRIPT_FILE"`
684785
BASE_DIR=`dirname "$SCRIPT_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
export PACKET_BUILD_DIR
684785
mkdir -p $PACKET_BUILD_DIR
10e43d
95dbc1
docker build -t my/builder-i386 $DOCKER_BUILD_OPTIONS "$SCRIPT_DIR"