projectatomic/system-buildah

Name: system-buildah

Owner: Project Atomic

Description: Simple toolbox for building system containers

Created: 2017-04-05 22:17:31.0

Updated: 2018-05-15 17:54:53.0

Pushed: 2018-02-26 14:19:41.0

Homepage: null

Size: 76

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

system-buildah

Simple toolbox for building system images. Read more on the Project Atomic Blog.

Build Status

Requires

NOTE: This code base is written to be compatible with Python 3 and thus will not work on older versions of Python!

The list of requirements are limited to keep portability between OS variations as simple as possible.

Install
For Your User
  1. Clone the repo
Install via RPM
  1. Download the source
  2. Extract the source to the local directory
  3. Move the tarball to your rpmbuild/SOURCES/ directory
Example
nerate system image files
stem-buildah generate-files \
--default=variable=value -D=another=anothervalue \
--config="--hostname=confighost --cwd=/root" \
new_container_image
nerate a system image Dockerfile
stem-buildah generate-dockerfile \
--from-base fedora:latest \
--output new_container_image name_of_image
Moby/Docker
ild a system container image
stem-buildah build \
--path new_container_image my_system_container_image
]
port the image as a tar
stem-buildah tar my_system_container_image
Buildah (Experimental)
ild a system container image
stem-buildah build --manager buildah \
--path new_container_image my_system_container_image
]
port the image as a tar
stem-buildah tar --manager buildah my_system_container_image

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.