Image for post
Image for post

Earlier this year Docker announced a partnership with Arm enabling developers to build applications for server, cloud, edge, and IoT environments seamlessly on the latest Arm architecture.
With the latest Docker Desktop (edge version) you can now quickly and easily build multi-arch docker images for x86_64, arm/v6, arm/v7 and arm64.

This now means you can build a single docker image that can be deployed on any x86_64 server, the new arm64 servers from Packet and AWS or even small armv7 IOT devices such as the Raspberry Pi.

Get Started by Installing Docker Desktop CE Edge version

Updated: New install instructions for Docker Desktop version 2.1.0.0

“Docker Desktop CE” can be found on Docker Hub.
If you follow the normal download links will not find the “Edge” version. …


Image for post
Image for post

The Swift-Arm community has had big news recently.

  1. The announcement by Apple of the new Swift Community-Hosted Continuous Integration.
  2. Easy apt-get package installs of Swift hosted on packagecloud.io/swift-arm.
    These include Swift 3.1.1 and Swift 4.1 for Armv7 devices and Swift 4.1 for Arm64 devices such as the Rock64 by pine64.org.

This means that trying Swift on your Arm device is now as easy as -

$ sudo apt-get install swift4

In this article we will look at one of these devices, the Rock64 and how to install Swift and the popular web framework Kitura.

Kitura is a high performance and simple to use web framework for building modern Swift applications. …


Image for post
Image for post

Install, Build and Test Swift-Nio on an Armv7 SBC running Debian Stretch.

Tested on Asus TinkerBoard running TinkerOS 2.0.8. (Debian/Stretch)
Swift version = 4.2.1 (swift-4.2.1-RELEASE)
Swift-Nio version = 1.14.1

// install packagecloud.io repo keys and update

$ curl -s https://packagecloud.io/install/repositories/swift-arm/release/script.deb.sh | sudo bash

// install swift-4.2.1-RELEASE
// this will also install swift dependencies needed such clang etc.

$ sudo apt-get install swift4

// install extra dependencies for swift-nio

$ sudo apt-get install zlibc zlib1g zlib1g-dev

// install git

$ sudo apt-get install git

// clone swift-nio

$ git clone https://github.com/apple/swift-nio.git

// cd to repo directory

$ cd swift-nio

// checkout version 1.14.1

About

Neil Jones

Software Engineer, Designer and creator of Swift-Lite. Bringing Swift to the Raspberry Pi and IOT. More info @ www.swift-lite.org, www.swift-arm.com.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store