Giter Club home page Giter Club logo

rkt-builder's Introduction

rkt-builder

This repository holds scripts and releases for the rkt-in-rkt builder ACI.

Usage

Building a new rkt-in-rkt builder ACI

To build the builder ACI image, first update the version variable IMG_VERSION in acbuild.sh, and execute:

$ sudo ./acbuild.sh

The rkt project key must be used to sign the generated image. $RKTSUBKEYID is the key ID of the rkt Yubikey. Connect the key and run gpg2 --card-status to get the ID.

The public key for GPG signing can be found at CoreOS Application Signing Key and is assumed as trusted.

$ gpg2 -u $RKTSUBKEYID'!' --armor --output rkt-builder.aci.asc --detach-sign rkt-builder.aci

Commit any changes to acbuild.sh, and push them.

Add a signed tag:

$ GIT_COMMITTER_NAME="CoreOS Application Signing Key" GIT_COMMITTER_EMAIL="[email protected]" git tag -u $RKTSUBKEYID'!' -s v1.0.0 -m "rkt-builder v1.0.0"`

Push the tag to GitHub:

$ git push --tags

Building rkt-in-rkt

$ git clone github.com/coreos/rkt
$ cd rkt
$ sudo rkt run \
    --volume src-dir,kind=host,source="$(pwd)" \
    --volume build-dir,kind=host,source="$(pwd)/release-build" \
    --interactive \
    coreos.com/rkt/builder:v1.0.0

Overview

This repository consists of two scripts:

  • acbuild.sh: This script builds the rkt-in-rkt builder ACI.
  • build.sh: This script is added to the rkt-in-rkt builder ACI as /scripts/build.sh, and is defined as the entrypoint.

The built rkt-in-rkt ACI declares the following volumes:

  • src-dir: Points to the directory holding the rkt source code.
  • build-dir: Points to the output directory where the build artifacts are being placed.

rkt-builder's People

Contributors

s-urbaniak avatar

Watchers

Casey Callendrello avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.