Delete ci/docker, assuming it is not used. (flutter/engine#50103)
I tried grepping for `docker` and couldn't find anything relevant:  (Maybe this is "secretly" used by another repo, but there is no way for me to tell that)
This commit is contained in:
@@ -1,102 +0,0 @@
|
||||
FROM ubuntu:bionic@sha256:512274f1739676880585e70eea6a883db7b6d92841b02647b6c92b478356572c
|
||||
|
||||
ENV DEPOT_TOOLS_PATH $HOME/depot_tools
|
||||
ENV BUILDROOT_PATH $HOME/buildroot
|
||||
ENV ENGINE_PATH $HOME/engine
|
||||
ENV PATH $PATH:$DEPOT_TOOLS_PATH
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Notes:
|
||||
# - libx11-dev is used by Flutter for desktop linux (see also install-build-deps-linux-desktop.sh)
|
||||
# - chrome is used by Flutter for web.
|
||||
|
||||
# Updates the distribution.
|
||||
RUN apt-get update
|
||||
|
||||
# Install generic tools.
|
||||
RUN apt-get install -y ca-certificates gnupg wget curl lsb-release sudo apt-transport-https
|
||||
|
||||
# Add additional repos.
|
||||
# chrome stable
|
||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
|
||||
# gcloud sdk
|
||||
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | \
|
||||
tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
|
||||
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | \
|
||||
apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
|
||||
RUN apt-get update
|
||||
|
||||
# Install basic tools and libraries
|
||||
RUN apt-get install -y \
|
||||
acpica-tools \
|
||||
autoconf \
|
||||
automake \
|
||||
bison \
|
||||
build-essential \
|
||||
dejagnu \
|
||||
dosfstools \
|
||||
flex \
|
||||
g++-multilib \
|
||||
gettext \
|
||||
git \
|
||||
gperf \
|
||||
groff \
|
||||
ifupdown \
|
||||
libblkid-dev \
|
||||
libc6-dev-i386 \
|
||||
libedit-dev \
|
||||
libfreetype6-dev \
|
||||
libglib2.0-dev \
|
||||
liblz4-tool \
|
||||
libncurses5-dev \
|
||||
libssl-dev \
|
||||
libtool \
|
||||
libxcursor-dev \
|
||||
libxinerama-dev \
|
||||
libxrandr-dev \
|
||||
libxxf86vm-dev \
|
||||
lsof \
|
||||
mtools \
|
||||
nasm \
|
||||
net-tools \
|
||||
pkg-config \
|
||||
python \
|
||||
python2.7-dev \
|
||||
tcpdump \
|
||||
texinfo \
|
||||
unzip \
|
||||
uuid-dev \
|
||||
vim \
|
||||
xz-utils \
|
||||
zip \
|
||||
zlib1g-dev
|
||||
|
||||
# Install x/gui deps
|
||||
RUN apt-get install -y \
|
||||
libegl1-mesa \
|
||||
libgles2-mesa-dev \
|
||||
libglu1-mesa-dev \
|
||||
libgtk-3-dev \
|
||||
libx11-dev \
|
||||
mesa-common-dev \
|
||||
xvfb
|
||||
|
||||
# Install browsers
|
||||
RUN apt-get install -y \
|
||||
google-chrome-stable
|
||||
|
||||
# Install and config gcloud
|
||||
RUN apt-get update && apt-get install -y google-cloud-sdk && \
|
||||
gcloud config set core/disable_usage_reporting true && \
|
||||
gcloud config set component_manager/disable_update_check true
|
||||
|
||||
# Clone depot_tools
|
||||
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $DEPOT_TOOLS_PATH
|
||||
|
||||
# Clone buildroot
|
||||
RUN git clone https://github.com/flutter/buildroot.git $BUILDROOT_PATH
|
||||
|
||||
# Make engine path and start change directory to buildroot.
|
||||
RUN mkdir --parents $ENGINE_PATH && \
|
||||
cd $BUILDROOT_PATH
|
||||
@@ -1,19 +0,0 @@
|
||||
This directory includes scripts to build the docker container image used for
|
||||
building flutter/engine in our CI system (currently [Cirrus](cirrus-ci.org)).
|
||||
|
||||
In order to run the scripts, you have to set up `docker` and `gcloud`. Please
|
||||
refer to internal doc go/installdocker for how to set up `docker` on gLinux.
|
||||
|
||||
Cirrus will build (and cache) a Docker image based on this `Dockerfile` for
|
||||
Linux tasks using its
|
||||
[Dockerfile as CI](https://cirrus-ci.org/guide/docker-builder-vm/) feature.
|
||||
Any change to the `Dockerfile` will cause a new task to be triggered to build
|
||||
and tag a new version of the Docker image which will be a dependency of the
|
||||
other Linux tasks. This task will instantiate a new GCP VM based on the image
|
||||
specified in the `.cirrus.yml` `builder_image_name` field.
|
||||
|
||||
To test changes to the Linux `Dockerfile`, create a PR with the changes, and
|
||||
Cirrus will attempt to build a new image.
|
||||
|
||||
To debug locally, you can build an image with `./build_docker.sh`, but pushing
|
||||
to the registry is no longer necessary.
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# pull to make sure we are not rebuilding for nothing
|
||||
docker pull gcr.io/flutter-cirrus/build-engine-image:latest
|
||||
|
||||
docker build --tag gcr.io/flutter-cirrus/build-engine-image:latest .
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
solutions = [{
|
||||
"name" : "src/flutter",
|
||||
"url" : "https://github.com/flutter/engine.git",
|
||||
"deps_file" : "DEPS",
|
||||
"managed" : False,
|
||||
"safesync_url": "",
|
||||
}]
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker push gcr.io/flutter-cirrus/build-engine-image:latest
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
This directory should include scripts to build the docker container image used
|
||||
for building flutter/engine in our CI system (currently [Cirrus](cirrus-ci.org))
|
||||
using Windows.
|
||||
|
||||
So far we're still waiting GKE to have Kubernetes 1.14 and Windows containers.
|
||||
|
||||
Before that, we use GCE Windows VMs for our CI tests. This directory includes
|
||||
scripts for preparing that VM.
|
||||
Reference in New Issue
Block a user