build_docker_image.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 21 May 2022 08:36:14 +0200
changeset 67 d06ee9c3f780
parent 37 fd09116d3537
permissions -rwxr-xr-x
That was a long sequence of '...' commit message. That last fix should make it build.
#!/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 .