{"id":14978960,"url":"https://github.com/docker-library/bashbrew","last_synced_at":"2025-05-16T07:00:17.744Z","repository":{"id":37893446,"uuid":"196670955","full_name":"docker-library/bashbrew","owner":"docker-library","description":"Canonical build tool for the official images","archived":false,"fork":false,"pushed_at":"2025-04-21T22:15:27.000Z","size":1916,"stargazers_count":133,"open_issues_count":14,"forks_count":61,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-21T23:25:26.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/docker-library/official-images","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docker-library.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-13T02:52:50.000Z","updated_at":"2025-04-21T22:15:31.000Z","dependencies_parsed_at":"2024-02-03T01:26:37.883Z","dependency_job_id":"fc9b85fd-b93e-4b96-8653-cbf2a05eddff","html_url":"https://github.com/docker-library/bashbrew","commit_stats":{"total_commits":398,"total_committers":11,"mean_commits":36.18181818181818,"dds":0.07788944723618085,"last_synced_commit":"296033e20198f69836fb91d8c9dd569be8eabb2f"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-library%2Fbashbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-library%2Fbashbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-library%2Fbashbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker-library%2Fbashbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docker-library","download_url":"https://codeload.github.com/docker-library/bashbrew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254485025,"owners_count":22078764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:58:44.215Z","updated_at":"2025-05-16T07:00:17.720Z","avatar_url":"https://github.com/docker-library.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bashbrew (`bashbrew`)\n\n[![Jenkins Build Status](https://doi-janky.infosiftr.net/job/bashbrew/job/master/badge/icon?subject=Jenkins)](https://doi-janky.infosiftr.net/job/bashbrew/job/master/) [![GitHub CI](https://github.com/docker-library/bashbrew/workflows/GitHub%20CI/badge.svg?branch=master\u0026event=push)](https://github.com/docker-library/bashbrew/actions?query=workflow%3A%22GitHub+CI%22)\n\n```console\n$ bashbrew --help\nNAME:\n   bashbrew - canonical build tool for the official images\n\nUSAGE:\n   bashbrew [global options] command [command options] [arguments...]\n\nVERSION:\n   v0.1.0\n\nCOMMANDS:\n     list, ls    list repo:tag combinations for a given repo\n     build       build (and tag) repo:tag combinations for a given repo\n     tag         tag repo:tag into a namespace (especially for pushing)\n     push        push namespace/repo:tag (see also \"tag\")\n     put-shared  update shared tags in the registry (and multi-architecture tags)\n     help, h     Shows a list of commands or help for one command\n   plumbing:\n     children, offspring, descendants, progeny  print the repos built FROM a given repo or repo:tag\n     parents, ancestors, progenitors            print the repos this repo or repo:tag is FROM\n     cat                                        print manifest contents for repo or repo:tag\n     from                                       print FROM for repo:tag\n\nGLOBAL OPTIONS:\n   --debug                  enable more output (esp. all \"docker build\" output instead of only output on failure) [$BASHBREW_DEBUG]\n   --no-sort                do not apply any sorting, even via --build-order\n   --arch value             the current platform architecture (default: \"amd64\") [$BASHBREW_ARCH]\n   --namespace value        a repo namespace to act upon/in [$BASHBREW_NAMESPACE]\n   --constraint value       build constraints (see Constraints in Manifest2822Entry) [$BASHBREW_CONSTRAINTS]\n   --exclusive-constraints  skip entries which do not have Constraints\n   --arch-namespace value   architecture to push namespace mappings for creating indexes/manifest lists (\"arch=namespace\" ala \"s390x=tianons390x\") [$BASHBREW_ARCH_NAMESPACES]\n   --config value           where default \"flags\" configuration can be overridden more persistently (default: \"/home/tianon/.config/bashbrew\") [$BASHBREW_CONFIG]\n   --library value          where the bodies are buried (default: \"/home/tianon/docker/official-images/library\") [$BASHBREW_LIBRARY]\n   --cache value            where the git wizardry is stashed (default: \"/home/tianon/.cache/bashbrew\") [$BASHBREW_CACHE]\n   --help, -h, -?           show help\n   --version, -v            print the version\n```\n\n## Installing\n\nPre-built binaries are available to [download from Jenkins (for all supported architectures)](https://doi-janky.infosiftr.net/job/bashbrew/job/master/lastSuccessfulBuild/artifact/).\n\n(For building `bashbrew` yourself, it's a pretty standard Go application.)\n\n## Usage\n\nDocker version 1.10 or above is required for use of Bashbrew.\n\nIn general, `bashbrew build some-repo` or `bashbrew build ./some-file` should be sufficient for using the tool at a surface level, especially for testing. For more complex usage, please see the built-in help (`bashbrew --help`, `bashbrew build --help`, etc).\n\n## Configuration\n\nThe default \"flags\" configuration is in `~/.config/bashbrew/flags`, but the base path can be overridden with `--config` or `BASHBREW_CONFIG` (technically, the full path to the default `flags` configuration file is `${BASHBREW_CONFIG:-${XDG_CONFIG_HOME:-$HOME/.config}/bashbrew}/flags`).\n\nTo set a default namespace for specific commands only:\n\n```\nCommands: tag, push\nNamespace: officialstaging\n```\n\nTo set a default namespace for all commands:\n\n```\nNamespace: jsmith\n```\n\nA more complex example:\n\n```\n# comments are allowed anywhere (and are ignored)\nLibrary: /mnt/docker/official-images/library\nCache: /mnt/docker/bashbrew-cache\nConstraints: aufs, docker-1.9, tianon\nExclusiveConstraints: true\n\n# namespace just \"tag\" and \"push\" (not \"build\")\nCommands: tag, push\nNamespace: tianon\n\nCommands: list\nApplyConstraints: true\n\nCommands: tag\nDebug: true\n```\n\nIn this example, `bashbrew tag` will get both `Namespace` and `Debug` applied (options are additive).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker-library%2Fbashbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocker-library%2Fbashbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker-library%2Fbashbrew/lists"}