piler/docker/build.sh
Janos SUTO e95e8496a7 Updated docker build
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00

12 lines
234 B
Bash
Executable File

#!/bin/bash
set -o errexit
set -o pipefail
set -o nounset
IMAGE_NAME="sutoj/piler:1.3.12"
if [[ $# -ne 1 ]]; then echo "ERROR: missing package name" 1>&2; exit 1; fi
docker build --pull --build-arg PACKAGE="$1" -t "$IMAGE_NAME" .