Browse Source

Update 'nodejs/.ide/Dockerfile-Allinone-flutter'

天问 1 year ago
parent
commit
097198b533
1 changed files with 3 additions and 0 deletions
  1. 3 0
      nodejs/.ide/Dockerfile-Allinone-flutter

+ 3 - 0
nodejs/.ide/Dockerfile-Allinone-flutter

@@ -45,6 +45,9 @@ RUN echo "export ANDROID_HOME=$ANDROID_HOME" >> ~/.bashrc \
 ENV PATH=$PATH:$FLUTTER_HOME/bin:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/emulator
 RUN yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --verbose "platform-tools" "platforms;android-33"
 
+ENV PUB_HOSTED_URL=https://pub.flutter-io.cn
+ENV FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
+
 # install flutter
 RUN git clone --branch ${FLUTTER_VERSION} https://github.com/flutter/flutter.git ${FLUTTER_HOME} \
     && cd ${FLUTTER_HOME} \