2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
8 GOVERSION=$(grep 'const goversion =' ../../lib/install/deps.go |awk -F'"' '{print $2}')
10 for target in `find -maxdepth 1 -type d |grep -v generated`; do
11 if [[ "$target" == "." ]]; then
17 docker build --tag arvados/build:$target \
18 --build-arg HOSTTYPE=$HOSTTYPE \
19 --build-arg BRANCH=$(git rev-parse --abbrev-ref HEAD) \
20 --build-arg GOVERSION=$GOVERSION --no-cache .