container-baseimage

A container base image to build reliable single or multiprocess images quickly 🐳✨🌴

MIT License

Stars
129
container-baseimage -

Published by BertrandGouny over 5 years ago

  • Periodic update of ubuntu baseimage and packages
container-baseimage -

Published by BertrandGouny over 5 years ago

  • Add cfssl as available service to generate ssl certs
    Warning: ssl-helper ssl-helper-openssl and ssl-helper-gnutls
    have been removed
  • Add tag #PYTHON2BASH and #JSON2BASH to convert env var to bash
  • Add multiple env file importation
  • Add setup only env file
  • Add json env file support
  • Rename my_init to run (delete previous run script)
  • Add run tool option --copy-service that copy /container/service to /container/run/service on startup
  • Remove run tool option --quiet
  • Add run tool option --loglevel (default : info) with possible values : none, error, warning, info, debug.
  • Container environment config directory /etc/container_environment moved to /container/environment
  • Container run environment is now saved in /container/run/environment
  • Container run environment bash export /etc/container_environment.sh moved to /container/run/environment.sh
  • Container state is now saved in /container/run/state
  • Container runit process directory /etc/service moved to /container/run/process
  • Container startup script directory /etc/my_init.d/ moved to /container/run/startup
  • Container final startup script /etc/rc.local moved to /container/run/startup.sh
  • Add bash log-helper
  • Rename install-multiple-process-stack to add-multiple-process-stack
  • Rename install-service-available to add-service-available
container-baseimage -

Published by BertrandGouny over 5 years ago

  • Fix bug with host network
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • jsonssl add support for traefik >= v1.6 acme.json file

Changed

  • "traefik" JSONSSL_PROFILE be becomes "traefik_up_to_v1_6"
  • "traefik" JSONSSL_PROFILE is now for traefik >= v1.6 acme.json file
  • Upgrade CFSSL version to 1.3.2
  • run: catch copy-service errors
  • KILL_PROCESS_TIMEOUT and KILL_ALL_PROCESSES_TIMEOUT to 30 seconds
  • make ssl-auto-renew cron log with /usr/bin/logger -t cron_ssl_auto_renew
  • syslog-ng config

Fixed

  • my_init exits with 0 on SIGINT after runit is started
  • better sanitize_shenvname
  • exit status
container-baseimage -

Published by BertrandGouny over 5 years ago

Changed

  • chmod 444 logrotate config files

Fixed

  • Fix jsonssl-helper get traefik ca certificate on alpine
container-baseimage -

Published by BertrandGouny over 5 years ago

Changed

  • Use debian stretch-slim as baseimage
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Run tool now use 2 environmen variable KILL_PROCESS_TIMEOUT and KILL_ALL_PROCESSES_TIMEOUT

Changed

  • Default local to en_US.UTF-8
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Add to the 'run' tool option --dont-touch-etc-hosts Don't add in /etc/hosts a line with the container ip and $HOSTNAME environment variable value.

Fixed

  • Fix wait-process script
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Add ssl-helper that allow certificate auto-renew and let choose
    certificate generator (cfssl-helper default, or jsonssl-helper)
  • Add jsonssl-helper that get certificates from a json file
  • Add to the 'run' tool options --run-only, --wait-first-startup, --wait-state, --cmd
    --keepalived becomes --keepalive-force,
    --keepalive now only keep alive container if all startup files and process
    exited without error.

Changed

  • Upgrade cfssl 1.2.0
  • Change .yaml.startup and .json.startup files to .startup.yaml and .startup.json

Fixed

  • Fix is_runit_installed check /usr/bin/sv instead of /sbin/runit #6
  • Fix logrotate config
container-baseimage -

Published by BertrandGouny over 5 years ago

Changed

  • Periodic update of debian baseimage and packages
container-baseimage -

Published by BertrandGouny over 5 years ago

Changed

  • Periodic update of debian baseimage and packages
container-baseimage -

Published by BertrandGouny over 5 years ago

Fixed

  • Fix --copy-service error if /container/run/service already exists
  • Fix /container/run/startup.sh file detection if no other startup files exists
  • Fix set_env_hostname_to_etc_hosts() on container restart
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Add cfssl as available service to generate ssl certs
  • Add tag #PYTHON2BASH and #JSON2BASH to convert env var to bash
  • Add multiple env file importation
  • Add setup only env file
  • Add json env file support
  • Rename my_init to run (delete previous run script)
  • Add run tool option --copy-service that copy /container/service to /container/run/service on startup
  • Add run tool option --loglevel (default : info) with possible values : none, error, warning, info, debug.
  • Add bash log-helper

Changed

  • Container environment config directory /etc/container_environment moved to /container/environment
  • Container run environment is now saved in /container/run/environment
  • Container run environment bash export /etc/container_environment.sh moved to /container/run/environment.sh
  • Container state is now saved in /container/run/state
  • Container runit process directory /etc/service moved to /container/run/process
  • Container startup script directory /etc/my_init.d/ moved to /container/run/startup
  • Container final startup script /etc/rc.local moved to /container/run/startup.sh
  • Rename install-multiple-process-stack to add-multiple-process-stack
  • Rename install-service-available to add-service-available

Removed

  • ssl-helper ssl-helper-openssl and ssl-helper-gnutls
  • Remove run tool option --quiet
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Makefile with build no cache

Changed

  • Allow more easy image inheritance

Fixed

  • Fix cron NUMBER OF HARD LINKS > 1
container-baseimage -

Published by BertrandGouny over 5 years ago

Fixed

  • Fix bug with host network
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Add run cmd arguments when it's a single process image

Changed

  • Remove bash from command when it's a single process image
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Add hostname env variable to /etc/hosts
    to make the image more friendly with kubernetes again :)
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Load env.yaml file from /container/environment directory
    to make the image more friendly with kubernetes secrets :)
container-baseimage -

Published by BertrandGouny over 5 years ago

Added

  • Add python and PyYAML

Fixed

  • Fix remove-service #1
  • Fix locales
  • Fix my_init
container-baseimage -

Published by BertrandGouny over 5 years ago

Initial release