Revert "Allow rebuilding of docker image, re-enable deploy gallery macos (#43362)" (#43557)

This reverts commit 8e8d235dd1.
This commit is contained in:
Jonah Williams
2019-10-25 18:16:04 -07:00
committed by GitHub
parent 652fb975c1
commit 33873cf724
8 changed files with 19 additions and 417 deletions

View File

@@ -10,8 +10,6 @@
# for performing pushes to production, and so this image is quite a bit larger
# than strictly needed for just building Flutter apps.
# Note: updating past stretch (Debian 9) will bump Java past version 8,
# which will break the Android SDK.
FROM debian:stretch
MAINTAINER Flutter Developers <flutter-dev@googlegroups.com>
@@ -53,7 +51,7 @@ RUN bash "${NODEJS_INSTALL}/nodejs_install.sh"
# Install the rest of the dependencies.
RUN apt-get install -y --no-install-recommends \
locales \
gcc \
golang \
ruby \
ruby-dev \
nodejs \
@@ -110,24 +108,23 @@ RUN /usr/bin/npm --verbose install -g firebase-tools
COPY patch_firebase.sh /root/patch_firebase.sh
RUN /root/patch_firebase.sh
# Install golang more recent than in repo (necessary for dashing to build)
RUN curl 'https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz' | tar xvz
ENV GOBINARY=/go/bin/go
# Install dashing
# This is why we need golang installed.
RUN mkdir -p /opt/gopath/bin
ENV GOPATH=/opt/gopath
ENV PATH="${GOPATH}/bin:${PATH}"
RUN $GOBINARY get -u github.com/technosophos/dashing
RUN go get -u github.com/technosophos/dashing
# Set locale to en_US
RUN locale-gen en_US "en_US.UTF-8" && dpkg-reconfigure locales
ENV LANG en_US.UTF-8
# Install coveralls and Firebase
# This is why we need ruby installed.
# Skip all the documentation (-N) since it's just on CI.
RUN gem install coveralls -N
RUN gem install bundler -N
# Install fastlane which is used on Linux to build and deploy Android
# builds to the Play Store.
RUN gem install fastlane -N
COPY Gemfile /Gemfile
COPY Gemfile.lock /Gemfile.lock
RUN bundle install --system