├── .github └── ISSUE_TEMPLATE │ ├── bug.yaml │ ├── documentation.yaml │ └── feature.yaml ├── Dockerfile ├── LICENSE └── README.md /.github/ISSUE_TEMPLATE/bug.yaml: -------------------------------------------------------------------------------- 1 | name: "🐛 Bug Report" 2 | description: "Submit a bug report to help us improve" 3 | title: "🐛 Bug Report: " 4 | labels: [bug] 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | Thanks for taking the time to fill out our bug report form 🙏 10 | - type: textarea 11 | id: steps-to-reproduce 12 | validations: 13 | required: true 14 | attributes: 15 | label: "👟 Reproduction steps" 16 | description: "How do you trigger this bug? Please walk us through it step by step." 17 | placeholder: "When I ..." 18 | - type: textarea 19 | id: expected-behavior 20 | validations: 21 | required: true 22 | attributes: 23 | label: "👍 Expected behavior" 24 | description: "What did you think would happen?" 25 | placeholder: "It should ..." 26 | - type: textarea 27 | id: actual-behavior 28 | validations: 29 | required: true 30 | attributes: 31 | label: "👎 Actual Behavior" 32 | description: "What did actually happen? Add screenshots, if applicable." 33 | placeholder: "It actually ..." 34 | - type: dropdown 35 | id: appwrite-version 36 | attributes: 37 | label: "🎲 Appwrite version" 38 | description: "What version of Appwrite are you running?" 39 | options: 40 | - Version 0.10.x 41 | - Version 0.9.x 42 | - Version 0.8.x 43 | - Version 0.7.x 44 | - Version 0.6.x 45 | - Different version (specify in environment) 46 | validations: 47 | required: true 48 | - type: dropdown 49 | id: operating-system 50 | attributes: 51 | label: "💻 Operating system" 52 | description: "What OS is your server / device running on?" 53 | options: 54 | - Linux 55 | - MacOS 56 | - Windows 57 | - Something else 58 | validations: 59 | required: true 60 | - type: textarea 61 | id: environment 62 | validations: 63 | required: false 64 | attributes: 65 | label: "🧱 Your Environment" 66 | description: "Is your environment customized in any way?" 67 | placeholder: "I use Cloudflare for ..." 68 | - type: checkboxes 69 | id: no-duplicate-issues 70 | attributes: 71 | label: "👀 Have you spent some time to check if this issue has been raised before?" 72 | description: "Have you Googled for a similar issue or checked our older issues for a similar bug?" 73 | options: 74 | - label: "I checked and didn't find similar issue" 75 | required: true 76 | - type: checkboxes 77 | id: read-code-of-conduct 78 | attributes: 79 | label: "🏢 Have you read the Code of Conduct?" 80 | options: 81 | - label: "I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)" 82 | required: true -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/documentation.yaml: -------------------------------------------------------------------------------- 1 | name: "📚 Documentation" 2 | description: "Report an issue related to documentation" 3 | title: "📚 Documentation: " 4 | labels: [documentation] 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | Thanks for taking the time to make our documentation better 🙏 10 | - type: textarea 11 | id: issue-description 12 | validations: 13 | required: true 14 | attributes: 15 | label: "💭 Description" 16 | description: "A clear and concise description of what the issue is." 17 | placeholder: "Documentation should not ..." 18 | - type: checkboxes 19 | id: no-duplicate-issues 20 | attributes: 21 | label: "👀 Have you spent some time to check if this issue has been raised before?" 22 | description: "Have you Googled for a similar issue or checked our older issues for a similar bug?" 23 | options: 24 | - label: "I checked and didn't find similar issue" 25 | required: true 26 | - type: checkboxes 27 | id: read-code-of-conduct 28 | attributes: 29 | label: "🏢 Have you read the Code of Conduct?" 30 | options: 31 | - label: "I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)" 32 | required: true -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.yaml: -------------------------------------------------------------------------------- 1 | name: 🚀 Feature 2 | description: "Submit a proposal for a new feature" 3 | title: "🚀 Feature: " 4 | labels: [feature] 5 | body: 6 | - type: markdown 7 | attributes: 8 | value: | 9 | Thanks for taking the time to fill out our feature request form 🙏 10 | - type: textarea 11 | id: feature-description 12 | validations: 13 | required: true 14 | attributes: 15 | label: "🔖 Feature description" 16 | description: "A clear and concise description of what the feature is." 17 | placeholder: "You should add ..." 18 | - type: textarea 19 | id: pitch 20 | validations: 21 | required: true 22 | attributes: 23 | label: "🎤 Pitch" 24 | description: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable." 25 | placeholder: "In my use-case, ..." 26 | - type: checkboxes 27 | id: no-duplicate-issues 28 | attributes: 29 | label: "👀 Have you spent some time to check if this issue has been raised before?" 30 | description: "Have you Googled for a similar issue or checked our older issues for a similar bug?" 31 | options: 32 | - label: "I checked and didn't find similar issue" 33 | required: true 34 | - type: checkboxes 35 | id: read-code-of-conduct 36 | attributes: 37 | label: "🏢 Have you read the Code of Conduct?" 38 | options: 39 | - label: "I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)" 40 | required: true -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | 3 | LABEL maintainer="team@appwrite.io" 4 | 5 | ENV ANDROID_COMMAND_LINE_TOOLS_URL="https://dl.google.com/android/repository/commandlinetools-linux-6609375_latest.zip" 6 | ENV ANDROID_HOME="~/.android" 7 | ENV ANDROID_SDK_HOME="/opt/android-sdk" 8 | ENV ANDROID_VERSION="29" 9 | ENV ANDROID_BUILD_TOOLS_VERSION="29.0.3" 10 | ENV ANDROID_ARCHITECTURE="x86_64" 11 | 12 | ENV FLUTTER_REPO_URL="https://github.com/flutter/flutter.git" 13 | ENV FLUTTER_HOME="/opt/flutter" 14 | ENV PATH="$ANDROID_HOME/tools/bin:$FLUTTER_HOME/bin:$FLUTTER_HOME/bin/cache/dart-sdk/bin:$PATH" 15 | 16 | # install dependencies 17 | ENV DEBIAN_FRONTEND noninteractive 18 | RUN \ 19 | apt-get update \ 20 | && apt-get -y install --no-install-recommends \ 21 | curl \ 22 | git \ 23 | lib32stdc++6 \ 24 | openjdk-8-jdk-headless \ 25 | unzip \ 26 | && apt-get --purge autoremove \ 27 | && rm -rf /var/lib/{apt,dpkg,cache,log} 28 | 29 | # flutter 30 | RUN git clone -b master $FLUTTER_REPO_URL $FLUTTER_HOME 31 | 32 | # android sdk 33 | RUN curl -s $ANDROID_COMMAND_LINE_TOOLS_URL -o commandlinetools.zip \ 34 | && mkdir $ANDROID_SDK_HOME \ 35 | && unzip commandlinetools.zip -d $ANDROID_SDK_HOME \ 36 | && rm commandlinetools.zip 37 | 38 | RUN mkdir $ANDROID_HOME \ 39 | && echo 'count=0' > $ANDROID_HOME/repositories.cfg \ 40 | && yes "y" | sdkmanager --licenses > /dev/null \ 41 | && yes "y" | sdkmanager "build-tools;$ANDROID_BUILD_TOOLS_VERSION" \ 42 | && yes "y" | sdkmanager "platforms;android-$ANDROID_VERSION" \ 43 | && yes "y" | sdkmanager "platform-tools" \ 44 | && yes "y" | sdkmanager "emulator" \ 45 | && yes "y" | sdkmanager "system-images;android-$ANDROID_VERSION;google_apis_playstore;$ANDROID_ARCHITECTURE" \ 46 | && flutter doctor -v \ 47 | && chown -R root:root /opt 48 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Appwrite 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Docker Flutter 2 | 3 | [![Discord](https://badgen.net/badge/discord/chat/green)](https://discord.gg/GSeTUeA) 4 | [![Docker Pulls](https://badgen.net/docker/pulls/appwrite/flutter)](https://travis-ci.org/appwrite/flutter) 5 | 6 | A Flutter docker image by the [Appwrite team](https://github.com/appwrite). 7 | 8 | ## Getting Started 9 | 10 | These instructions will cover usage information to help your run Flutter docker image 11 | 12 | ### Prerequisities 13 | 14 | In order to run this image you'll need docker installed. 15 | 16 | * [Linux](https://docs.docker.com/engine/install/#server) 17 | * [Mac OS](https://docs.docker.com/desktop/mac/install/) 18 | * [Windows](https://docs.docker.com/desktop/windows/install/) 19 | 20 | ### Usage 21 | 22 | ```shell 23 | docker run appwrite/flutter 24 | ``` 25 | 26 | #### Environment Variables 27 | 28 | This image has no environment variables. 29 | 30 | #### Volumes 31 | 32 | You can mount any volume you need to allow the image to scan its files. 33 | 34 | ## Find Us 35 | 36 | * [GitHub](https://github.com/appwrite) 37 | * [Discord](https://discord.gg/GSeTUeA) 38 | * [Twitter](https://twitter.com/appwrite_io) 39 | 40 | ## Authors 41 | 42 | **Eldad Fux** 43 | 44 | + [https://twitter.com/eldadfux](https://twitter.com/eldadfux) 45 | + [https://github.com/eldadfux](https://github.com/eldadfux) 46 | 47 | ## Copyright and license 48 | 49 | The MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php) 50 | --------------------------------------------------------------------------------