Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (13 loc) · 1.12 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.12 KB

image-build-tools

This repo contains sources for a simple builder image that can be used to build images with following tools:

Usage

An example of usage is Makefile in container-images-template repo.

To build and/or test other images using this image (including generating Dockerfile with distgen), you need to mount in docker socket from host and directory with your sources for the image. For example:

docker run -v /var/run/docker.sock:/var/run/docker.sock:Z -v $(pwd):/src:Z modularitycontainers/image-build-tools bash -c 'cd tests; MODULE=docker URL="docker=fedora/awesome:2.4" DOCKERFILE="../Dockerfile" VERSION=2.4 DISTRO=fedora-26-x86_64 mtf -l *.py'

If you need to add additional tools to the image, you can create another image using this image as base.