summary refs log tree commit diff
path: root/docker/build_crosvm.sh
blob: e0d697b69dde3f8de703c6b09b650f99a6a27244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

set -ex
cd "${0%/*}"

src_root="$(realpath ..)"

docker build -t crosvm \
    -f Dockerfile.crosvm \
    --build-arg UID \
    --build-arg GID \
    "$@" \
    "${src_root}"