mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:20:31 +00:00
e87f2d895c
Note: this "upgrades" ninja to 1.11.1. Change-Id: Idca0f8a2a67cf5d5dbe75661bb14de174012580f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/261101 Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
14 lines
585 B
Bash
Executable file
14 lines
585 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
set -x
|
|
|
|
fetch=$(which fetch)
|
|
depot_tools=$(dirname $fetch)
|
|
image="debian-package:0.1"
|
|
dockerfile=tools/linux_dist_support/Debian.dockerfile
|
|
docker build --build-arg depot_tools=$depot_tools -t $image - < $dockerfile
|
|
checkout=$(pwd)
|
|
docker run -e BUILDBOT_BUILDERNAME -v $depot_tools:$depot_tools\
|
|
-v $checkout:$checkout -w $checkout -i --rm $image
|