summaryrefslogtreecommitdiffstats
path: root/deployment/docker-build.sh
blob: 767554fb4dfff1cbe9757bf760f1b71f9715d719 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ $HTTP_PROXY ]; then
    BUILD_ARGS+=" --build-arg HTTP_PROXY=${HTTP_PROXY}"
fi
if [ $HTTPS_PROXY ]; then
    BUILD_ARGS+=" --build-arg HTTPS_PROXY=${HTTPS_PROXY}"
fi

echo "Start build docker image"
docker build ${BUILD_ARGS} -t dkv .