This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: | |
file: .gitpod.dockerfile | |
tasks: | |
- before: | | |
export PATH=$FLUTTER_HOME/bin:$ANDROID_HOME/bin:$ANDROID_HOME/platform-tools:$PATH | |
mkdir -p /home/gitpod/.android | |
touch /home/gitpod/.android/repositories.cfg | |
init: | | |
echo "Installing Flutter SDK..." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gitpod/workspace-full:latest | |
ENV ANDROID_HOME=/workspace/android-sdk \ | |
FLUTTER_ROOT=/workspace/flutter \ | |
FLUTTER_HOME=/workspace/flutter | |
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \ | |
&& sdk install java 8.0.242.j9-adpt" |