Code Monkey home page Code Monkey logo

dart_sdk_build_raspberry_pi_dockerfile's Introduction

How to run

Simply build the docker image:

docker build .

By default it will build version 2.0.0-dev.55.0.

To build another version, pass it as an argument:

docker build --build-arg dart_version=VERSION .

It is recommended to set Docker to have 3 GB of memory, otherwise g++ will fail to compile.

How to retrieve the built dart sdk

You can find a zip with the binaries in this repository, under the 'output' folder.

You can find a Docker image with the binaries inside, here.

If you build the image yourself, the created image will contain a zip file with the dart binaries. The zip file will be at the root (/) folder of the image.

To copy, create a container from the image and run cp:

docker images
docker create IMAGE_ID
docker cp CONTAINER_ID:/dart-sdk.zip .

Then unzip the archive and copy to your raspberry:

unzip dart-sdk.zip
scp -r dart-sdk [email protected]:/path/remote/folder 

How to test the sdk

In the test folder of this repo you can find some very simple dart file.

Remember to run pub get before run them with dart.

dart_sdk_build_raspberry_pi_dockerfile's People

Contributors

manhluong avatar rostopira avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.