{"id":13831864,"url":"https://github.com/helje5/dockSwiftOnARM","last_synced_at":"2025-07-09T15:33:50.170Z","repository":{"id":81897039,"uuid":"87632710","full_name":"helje5/dockSwiftOnARM","owner":"helje5","description":"Playing with dockerizing Swift for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2023-01-02T14:59:26.000Z","size":352,"stargazers_count":122,"open_issues_count":0,"forks_count":40,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-09T22:43:35.976Z","etag":null,"topics":["raspberry-pi","raspbian","swift"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helje5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-04-08T12:35:54.000Z","updated_at":"2024-10-08T22:18:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa134470-7e1d-4777-89ea-af53ad73b9b5","html_url":"https://github.com/helje5/dockSwiftOnARM","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helje5%2FdockSwiftOnARM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helje5%2FdockSwiftOnARM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helje5%2FdockSwiftOnARM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helje5%2FdockSwiftOnARM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helje5","download_url":"https://codeload.github.com/helje5/dockSwiftOnARM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225565942,"owners_count":17489288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["raspberry-pi","raspbian","swift"],"created_at":"2024-08-04T10:01:42.882Z","updated_at":"2024-11-20T13:31:57.282Z","avatar_url":"https://github.com/helje5.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"\u003ch2\u003edockSwiftOnARM\n  \u003cimg src=\"http://zeezide.com/img/rpi-swift.svg?2\"\n       align=\"right\" width=\"180\" height=\"180\" /\u003e\n\u003c/h2\u003e\n\n![Swift3](https://img.shields.io/badge/swift-3-blue.svg)\n![Swift4](https://img.shields.io/badge/swift-4-blue.svg)\n![Swift5](https://img.shields.io/badge/swift-5-blue.svg)\n![tuxOS](https://img.shields.io/badge/os-tuxOS-green.svg?style=flat)\n![ARM](https://img.shields.io/badge/cpu-ARM-red.svg?style=flat)\n\u003ca href=\"https://slackpass.io/swift-arm\"\u003e\u003cimg src=\"https://img.shields.io/badge/Slack-swift/arm-red.svg?style=flat\"/\u003e\u003c/a\u003e\n\nPlaying with dockerizing Swift for Raspberry Pi.\n\nInspired by\n[uraimo/buildSwiftOnARM](https://github.com/uraimo/buildSwiftOnARM).\n\nAlso note the companion project:\n[swift-mac2arm-x-compile-toolchain](https://github.com/AlwaysRightInstitute/swift-mac2arm-x-compile-toolchain),\na cross compiler toolchain which allows you to build Raspi Swift binaries\non macOS (and the reverse for the fun of it!).\n\n### Running Swift w/ Docker on macOS\n\nWorks:\n\n```shell\ndocker run --rm  helje5/rpi-swift swift --version\nSwift version 3.1 (swift-3.1-RELEASE)\nTarget: armv7-unknown-linux-gnueabihf\n```\n\nThere is also an image which includes Emacs, vi, etc:\n```shell\ndocker run -it --rm  helje5/rpi-swift-dev bash\n```\n\nNote that the REPL doesn't work on the Raspi.\n\nDockerHub:\n- [rpi-swift](https://hub.docker.com/r/helje5/rpi-swift/)\n- [rpi-swift-dev](https://hub.docker.com/r/helje5/rpi-swift-dev/) \n  (w/ Emacs/vi/etc)\n  \nWant to run Server Side Swift on a Raspberry Pi? Use\n[mod_swift](http://mod-swift.org/raspberrypi/).\n\n#### Versions\n\nAs of 2018-04-05 the latest working Swift version for Raspi is Swift 3.1.1.\n\nWe do provide a docker image for 4.1.0. It basically works, but isn't stable\n(e.g. crashes on some operations). It also doesn't include the Swift Package\nManager.\n\n### Setup Raspi w/ Docker and remote-control it from macOS\n\nMoved to Wiki:\n- [Setup Docker on Raspi](https://github.com/helje5/dockSwiftOnARM/wiki/Setup-Docker-on-Raspi)\n- [Remote Control Raspi Docker from Mac](https://github.com/helje5/dockSwiftOnARM/wiki/Remote-Control-Raspi-Docker) (via docker-machine)\n\n### Building Swift w/ Docker on macOS\n\nMoved to Wiki:\n- [Building Swift in a Docker container](https://github.com/helje5/dockSwiftOnARM/wiki/Building-Swift-with--Docker) (either on a real Raspi or in macOS Docker QEmu)\n\n### Status\n\nNo idea, still investigating this :-)\n\n### Who\n\nBrought to you by\n[Helge Heß](https://helgehess.eu).\nWe like \n[feedback](https://twitter.com/ar_institute), \nGitHub stars, \ncool [contract work](http://zeezide.com/en/services/services.html),\npresumably any form of praise you can think of.\nWe don't like people who are wrong.\n\nThere is the [swift-arm](https://slackpass.io/swift-arm) Slack channel\nif you have questions about running Swift on ARM/Raspberry Pi.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelje5%2FdockSwiftOnARM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelje5%2FdockSwiftOnARM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelje5%2FdockSwiftOnARM/lists"}