2019-08-12 12:41:53 +04:00
|
|
|
#!/bin/sh
|
2020-02-10 14:35:05 +04:00
|
|
|
set -e
|
2020-02-10 14:35:31 +04:00
|
|
|
set -x
|
2019-08-12 12:41:53 +04:00
|
|
|
|
|
|
|
dockerfile_name="build"
|
|
|
|
# Generic dockerfile
|
|
|
|
dockerfile="./docker/distribution/generic/build.Dockerfile"
|
|
|
|
. ./scripts/distribution/generic/parameters.sh
|
|
|
|
|
|
|
|
echo "Building LIGO for $target"
|
|
|
|
echo "Using Dockerfile: $dockerfile"
|
|
|
|
echo "Tagging as: $tag_build\n"
|
2019-12-17 00:33:16 +04:00
|
|
|
docker build --build-arg ci_job_id="${CI_JOB_ID}" --build-arg target="$target" -t "$tag_build" -f "$dockerfile" .
|