Sign inSign up

ajoergensen/baseimage-ubuntu

By ajoergensen

Updated about 5 hours ago

Ubuntu base image

Image
1

7.6K

ajoergensen/baseimage-ubuntu repository overview

Ubuntu baseimage

A baseimage based on Phusion's base image

Bits and pieces have been sourced from other fine Docker images

Environment
  • PUID - Changes the uid of the app user, default 911
  • PGID - Changes the gid of the app group, default 911
  • SMTP_HOST - Change the SMTP relay server used by ssmtp (sendmail)
  • SMTP_USER - Username for the SMTP relay server
  • SMTP_PASS - Password for the SMTP relay server
  • SMTP_PORT - Outgoing SMTP port, default 587
  • SMTP_SECURE - Does the SMTP server requires a secure connection, default TRUE if SMTP_USER is set.
  • SMTP_TLS - Use STARTTLS, default TRUE (if SMTP_TLS is FALSE and SMTP_SECURE is true, SMTP over SSL will be used)
  • SMTP_MASQ - Masquerade outbound emails using this domain, default empty
Email

If you need to send mail and cannot use SMTP directly, ssmtp is installed to provide /usr/bin/sendmail and is configured using the SMTP_ variables.

If SMTP_USER is not set, unauthenticated SMTP will be used and SSL/TLS is disabled.

Persistent data

Generally I store configuration data in /config and store it in a volume. If an application does not permit changing the location of its configuration data, add a script to /etc/my_init.d which changes the app user's $HOME

Tags

20.04, latest: Ubuntu 20.04 based image
18.04: Ubuntu 18.04 based image

Tag summary

Content type

Image

Digest

sha256:b58b7db2b

Size

140.6 MB

Last updated

over 2 years ago

docker pull ajoergensen/baseimage-ubuntu