Separate PR (#53619)
This commit is contained in:
parent
7bf74c3460
commit
9b6fd7cb0b
@ -96,10 +96,6 @@ RUN dpkg-query -L nodejs
|
||||
# Install Firebase
|
||||
# This is why we need nodejs installed.
|
||||
RUN /usr/bin/npm --verbose install -g firebase-tools
|
||||
# TODO(dnfield): Remove this once Firebase has a fix upstream for
|
||||
# https://github.com/flutter/flutter/issues/34435
|
||||
COPY ci/docker_linux/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
|
||||
|
@ -1,15 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright 2014 The Flutter Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
FIREBASE_CMD_LOC=$(which firebase)
|
||||
NODE_DIR=$(dirname $(dirname $FIREBASE_CMD_LOC))
|
||||
echo "Node directory is located at $NODE_DIR"
|
||||
|
||||
UPLOADER_FILE="$NODE_DIR""/lib/node_modules/firebase-tools/lib/deploy/hosting/uploader.js"
|
||||
echo "File to modify is $UPLOADER_FILE"
|
||||
|
||||
REPLACE='s#populateBatchSize || 1000;#populateBatchSize || 100;#'
|
||||
echo "Going to replace with $REPLACE"
|
||||
sed -i "$REPLACE" "$UPLOADER_FILE"
|
Loading…
x
Reference in New Issue
Block a user