linuxkit-server

module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2017 License: MIT

README

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

Directories

Path Synopsis
cmd
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL