Giter Site home page Giter Site logo

dockswiftonarm's Introduction

dockSwiftOnARM

Swift3 tuxOS ARM

Playing with dockerizing Swift for Raspberry Pi.

Inspired by uraimo/buildSwiftOnARM.

Also note the companion project: swift-mac2arm-x-compile-toolchain, a cross compiler toolchain which allows you to build Raspi Swift binaries on macOS (and the reverse for the fun of it!).

Running Swift w/ Docker on macOS

Works:

docker run --rm  helje5/rpi-swift swift --version
Swift version 3.1 (swift-3.1-RELEASE)
Target: armv7-unknown-linux-gnueabihf

There is also an image which includes Emacs, vi, etc:

docker run -it --rm  helje5/rpi-swift-dev bash

Note that the REPL doesn't work on the Raspi.

DockerHub:

Want to run Server Side Swift on a Raspberry Pi? Use mod_swift.

Versions

As of 2018-04-05 the latest working Swift version for Raspi is Swift 3.1.1.

We do provide a docker image for 4.1.0. It basically works, but isn't stable (e.g. crashes on some operations). It also doesn't include the Swift Package Manager.

Setup Raspi w/ Docker and remote-control it from macOS

Moved to Wiki:

Building Swift w/ Docker on macOS

Moved to Wiki:

Status

No idea, still investigating this :-)

Who

Brought to you by The Always Right Institute. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of. We don't like people who are wrong.

There is the swift-arm Slack channel if you have questions about running Swift on ARM/Raspberry Pi.

dockswiftonarm's People

Contributors

helje5 avatar

Watchers

James Cloos avatar JXT 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.