Skip to content

Instantly share code, notes, and snippets.

@jpetazzo
Last active December 18, 2015 17:38
Show Gist options
  • Save jpetazzo/5819538 to your computer and use it in GitHub Desktop.
Save jpetazzo/5819538 to your computer and use it in GitHub Desktop.
The smallest PostgreSQL distro in the world! See full instructions at http://blog.docker.io/2013/06/create-light-weight-docker-containers-buildroot
config BR2_PACKAGE_POSTGRES
bool "postgres"
depends on BR2_TOOLCHAIN_BUILDROOT_INET_IPV6
help
PostgresSQL server
comment "postgres requires a toolchain with IPV6 support enabled"
depends on !BR2_TOOLCHAIN_BUILDROOT_INET_IPV6
#############################################################
#
# postgresql
#
#############################################################
POSTGRES_VERSION = 9.2.4
POSTGRES_SOURCE = postgresql-$(POSTGRES_VERSION).tar.gz
POSTGRES_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRES_VERSION)/$(POSTGRES_SOURCE)
POSTGRES_CONF_OPT = --with-system-tzdata=/usr/share/zoneinfo
POSTGRES_DEPENDENCIES = readline zlib
$(eval $(autotools-package))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment