Add docker build file
This commit is contained in:
parent
e3fdc25ce5
commit
729409328a
9
push/build_image
Normal file
9
push/build_image
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
IMAGE_NAME="deepstate"
|
||||
echo "IMAGE_NAME $IMAGE_NAME"
|
||||
|
||||
echo "Building Docker image..."
|
||||
docker build -t $IMAGE_NAME -f Dockerfile . || exit $?
|
||||
@ -40,7 +40,7 @@ if [ $? = 0 ]; then
|
||||
done
|
||||
export SCRIPTDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||
|
||||
bash ${SCRIPTDIR}/build &&
|
||||
bash ${SCRIPTDIR}/build_image &&
|
||||
bash ${SCRIPTDIR}/publish
|
||||
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user