1#!/bin/bash 2# Copyright 2019 The Chromium OS Authors. All rights reserved. 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6set -ex 7cd "${0%/*}" 8 9gen_build_args() { 10 for arg in $(cat ./checkout_commits.env); do 11 echo --build-arg "${arg}" 12 done 13} 14 15docker build $(gen_build_args) -t crosvm-base . 16