Files
rkt/Documentation/hacking.md
T
Jonathan Boulle 546e96641e *: rework documentation
- Update README to include contributing/contact sections
- Split out appc description into its own document
- Split out stages description into architecture document (will soon be
  in need of more updates)
- Standardise on "Rocket" instead of "rocket"
- Add godoc link
2015-02-13 09:35:03 -08:00

924 B

Hacking Guide

Building Rocket

Requirements

  • Linux 3.8+
    • make
    • gcc
    • glibc development and static pieces (on Fedora/RHEL/Centos: glibc-devel and glibc-static packages, on Debian/Ubuntu libc6-dev package)
    • cpio
    • squashfs-tools
    • realpath
    • gpg
  • Go 1.3+
    • github.com/appc/spec (not yet vendored as it's in a continuous improvement phase)

Once the requirements have been met you can build Rocket by running the following commands:

git clone https://github.com/coreos/rocket.git
cd rocket; ./build

With Docker

Alternatively, you can build rocket in a docker container with the following command. Replace $SRC with the absolute path to your rocket source code:

$ sudo docker run -v $SRC:/opt/rocket -i -t golang:1.3 /bin/bash -c "apt-get update && apt-get install -y coreutils cpio squashfs-tools realpath && cd /opt/rocket && go get github.com/appc/spec/... && ./build"