build_docker_image.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 21 Aug 2022 19:27:35 +0200
changeset 101 5799370243c0
parent 37 fd09116d3537
permissions -rwxr-xr-x
Version "name" of installer and snap is now deduced from beremiz' version.py
#!/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 .