infra/docker/docker_build.sh
raw| 1 | #!/bin/bash |
| 2 | # Copyright 2025 Google LLC |
| 3 | # |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
| 7 | # This bash file is intended to be used for building docker images with louhi |
| 8 | # implement copy_release_files and set IMAGE_NAME before invoking this |
| 9 | set -e |
| 10 | |
| 11 | ROOT=`mktemp -d` |
| 12 | mkdir -p ${ROOT} |
| 13 | |
| 14 | copy_release_files |
| 15 | |
| 16 | docker build -t ${IMAGE_NAME} ${ROOT} --progress=plain |