Skip to content

moigagoo/dhbp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dhbp

A tool to build Nim Docker images and push them to Docker Hub.

The title means Docker Hub Builder and Pusher.

Usage

Before running the app for the first time, create a multiarch builder:

$ dhbp setup

Usage:

$ dhbp build-and-push [--config|-c=config.json] [--all|-a] [--dry|-d] [--save|-s] [ ...]

Build and push specific versions:

$ dhbp build-and-push ...

Build and push specific versions and save the Dockerfiles in Dockerfiles/<version>/<flavor>:

$ dhbp build-and-push --save ...

Build and push all versions listed in the config file:

$ dhbp build-and-push --all

Use custom config file (by default, config.json in the current directory is used):

$ dhbp build-and-push --config=path/to/custom_config.json ...

Dry run (nothing is built or pushed, use to check the config and command args):

$ dhbp build-and-push --dry ...

Generate Docker Hub library file:

$ dhbp generate-dockerhub-library-file <git_commit_hash>

<git_commit_hash> is the hash of the commit pointing to the latest version commit in https://github.com/nim-lang/docker-images.

About

Docker Hub Builder and Pusher for Nim Programming Language

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages