dart-sdk/tools/linux_dist_support/Debian.dockerfile
Alexander Thomas 36b505cf8c [infra] Clean up debian package builder
* 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>
2021-04-21 09:28:52 +00:00

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