Skip to content
Simple build server for Linuxkit
Branch: master
Clone or download
Latest commit 7b4134c Mar 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Replaced Make based go-build-template with goreleaser Mar 14, 2018
build Added go-build-template Dec 17, 2017
cmd/linuxkit-server Added --port flag for changing the http port number Dec 18, 2017
pkg Fix kpartx parsing to return devices in right order Mar 18, 2018
vendor Updated moby/tool version to match with linuxkit v0.2 Mar 18, 2018
.dockerignore Added required packages to Dockerfile for building .img files Mar 14, 2018
.gitignore Replaced Make based go-build-template with goreleaser Mar 14, 2018
.goreleaser.yml Replaced Make based go-build-template with goreleaser Mar 14, 2018
Dockerfile
LICENSE Added license Dec 18, 2017
README.md Cleanup README Dec 18, 2017
vendor.conf Updated moby/tool version to match with linuxkit v0.2 Mar 18, 2018

README.md

Linuxkit-server

linuxkit-server is light wrapper around moby to build linuxkit operating systems. You can use it to build for example ARM distros in remote server when you cannot do it locally. EliotOS project uses this to create ARM build in CircleCI.

Built with ❤︎ by Erno Aapa and contributors

Usage

linuxkit-server provides simple HTTP API, where you can POST the linuxkit yaml definition and it will respond with tar file which contains the build output files.

API

POST /linuxkit/{name}/build/{format}

Create new build with {name} and create {format} output. See linuxkit documentation for all format options

Example

Here's simple example, download minimal.yml from linuxkit repository, post it to linuxkit-server for building and untar the result to current directory.

curl https://raw.githubusercontent.com/linuxkit/linuxkit/master/examples/minimal.yml \
  | curl --fail -X POST --data-binary @- http://localhost:8000/linuxkit/example/build/kernel+initrd \
  | tar xvz
You can’t perform that action at this time.