build_docker_image.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 02 Oct 2021 00:15:37 +0200
changeset 40 87e6588ad4c8
parent 37 fd09116d3537
permissions -rwxr-xr-x
Use pypi's zeroconf-py2compat instead of zeroconf2. Latest available release is more recent.
#!/bin/bash

set -e

OWNDIRBASENAME=$(basename $(cd $(dirname "${BASH_SOURCE[0]}") && pwd))

echo "Building docker image"
docker build \
    --build-arg UID=$(id -u) \
    --build-arg GID=$(id -g) \
    --build-arg OWNDIRBASENAME="$OWNDIRBASENAME" \
    -t beremiz_public_builder .