mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Alexander Thomas](/assets/img/avatar_default.png)
* Add a docker file to avoid rebuilding the same image on every run. * Move all files involved into the linux_dist_support folder. * Exclude more directories in the tarball. * Delete version checker from test_matrix. * Disable goma when running build.py. Change-Id: Ic7b0a2359027d532c009cdf3187d873323170f30 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195901 Reviewed-by: William Hesse <whesse@google.com>
11 lines
545 B
Docker
11 lines
545 B
Docker
# Copyright (c) 2021, 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.
|
|
FROM launcher.gcr.io/google/debian8:latest
|
|
ARG depot_tools
|
|
RUN sed -i /jessie-updates/d /etc/apt/sources.list
|
|
RUN apt-get update \
|
|
&& apt-get install -y build-essential debhelper git python3 \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
ENV PATH="$depot_tools:${PATH}"
|
|
ENTRYPOINT python3 tools/linux_dist_support/linux_distribution_support.py |