mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 08:50:13 +01:00
12 lines
234 B
Bash
12 lines
234 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -o errexit
|
||
|
set -o pipefail
|
||
|
set -o nounset
|
||
|
|
||
|
IMAGE_NAME="sutoj/piler:1.3.10"
|
||
|
|
||
|
if [[ $# -ne 1 ]]; then echo "ERROR: missing package name" 1>&2; exit 1; fi
|
||
|
|
||
|
docker build --pull --build-arg PACKAGE="$1" -t "$IMAGE_NAME" .
|