https://github.com/ernoaapa/linuxkit-server
Simple build server for Linuxkit
https://github.com/ernoaapa/linuxkit-server
arm golang linuxkit
Last synced: 10 months ago
JSON representation
Simple build server for Linuxkit
- Host: GitHub
- URL: https://github.com/ernoaapa/linuxkit-server
- Owner: ernoaapa
- License: mit
- Created: 2017-12-17T06:09:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T16:05:19.000Z (almost 8 years ago)
- Last Synced: 2025-03-28T12:51:13.606Z (10 months ago)
- Topics: arm, golang, linuxkit
- Language: Go
- Size: 1.54 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linuxkit-server
`linuxkit-server` is light wrapper around [moby](https://github.com/moby/tool) to build [linuxkit](https://github.com/linuxkit/linuxkit) operating systems. You can use it to build for example ARM distros in remote server when you cannot do it locally. [EliotOS](https://github.com/ernoaapa/eliot-os) project uses this to create ARM build in CircleCI.
Built with ❤︎ by [Erno Aapa](https://github.com/ernoaapa) and [contributors](https://github.com/ernoaapa/eliot/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.
```shell
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
```