Skip to content

tdebarochez/docker-armhf-swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Swift logo

armhf-swift

What is this?

An Ubuntu 14.04 Docker image for Swift on ARM devices.

You can find the Docker Hub repo here: https://hub.docker.com/r/ijoijo/armhf-swift/

Pre-requisites

Have docker up and running on your favorite ARM Linux distribution (Raspbian, Ubuntu, ArchLinux, HypriotOS).

If needed you can follow the instructions given on the Hypriot website, which gives a lot of useful hints about running Docker on ARM: http://blog.hypriot.com

Docker Instructions

Pull the Docker Image on your ARM device

docker pull ijoijo/armhf-swift

Run Swift REPL within docker

docker run -it ijoijo/armhf-swift

# Example: hello world
1> print("Hello world")

Compile and run swift code

docker run -it ijoijo/armhf-swift bash

# Example: hello world
echo 'print("Hello world")' > helloWorld.swift
swiftc helloWorld.swift
./helloWorld

Contributions

Any suggestions and contributions are welcome and encouraged

License

armhf-swift is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published