Skip to main content

Command-line tool for generating bash.bashrc templates for docker with a custom banner.

Project description

The docker-banner-gen command-line tool allows you to generate bash.bashrc files to be used within Docker containers. It is based on TensorFlow’s bash.bashrc and uses pyfiglet to generate the banner.

Changelog

0.0.8 (2024-12-20)

  • switched to r”…” for the templates to avoid SyntaxError due to invalid escape sequences (prior to 3.12 that only generated a SyntaxWarning)

0.0.7 (2021-04-09)

  • using the string n in the banner signals a line break

0.0.6 (2020-07-24)

  • escaping ` and now in the banner text

0.0.5 (2020-07-01)

  • fixed parse variable for outputting font info

0.0.4 (2020-06-09)

  • added option for specifying the width of the banner (-w, –width)

  • added option to list available fonts (-L, –list_fonts)

  • added option to output information about font (-F, –print_font_info)

0.0.3 (2020-06-09)

  • added ability to add a subtitle (placeholder {SUBTITLE}) using -s, –subtitle, which can be used for a version number

  • added -i, –print_templates option to output templates and the supported placeholders

0.0.2 (2020-06-07)

  • fixed entry point of console script

0.0.1 (2020-06-07)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docker_banner_gen-0.0.8.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file docker_banner_gen-0.0.8.tar.gz.

File metadata

  • Download URL: docker_banner_gen-0.0.8.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for docker_banner_gen-0.0.8.tar.gz
Algorithm Hash digest
SHA256 4cf379c37f5a671900b5ce91a9b7f2155edbc8cf4f33bd4a7d932d0867f6ec1b
MD5 5020bcd2b02d7f7ca2efff4cc87d2075
BLAKE2b-256 eaf627f6f1ef0ce06dbf9d1e588f2d1f73427faf7a1fdc064e5a2bd516f23b07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page