mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
79bb83a927
debian-updates was removed, that broke the build. Change-Id: Ib5856146cc60998861b59d2a89487312c6d898da Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98320 Auto-Submit: Alexander Thomas <athom@google.com> Reviewed-by: William Hesse <whesse@google.com>
15 lines
686 B
Bash
Executable file
15 lines
686 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
|
|
|
|
ninja=$(which ninja)
|
|
depot_tools=$(dirname $ninja)
|
|
cmd="sed -i /jessie-updates/d /etc/apt/sources.list\
|
|
&& apt-get update && apt-get -y install build-essential debhelper git python\
|
|
&& PATH=\"$depot_tools:\$PATH\"\
|
|
python tools/bots/linux_distribution_support.py"
|
|
image="launcher.gcr.io/google/debian8:latest"
|
|
docker run -e BUILDBOT_BUILDERNAME -v $depot_tools:$depot_tools\
|
|
-v `pwd`:`pwd` -w `pwd` -i --rm $image bash -c "$cmd"
|