Update Postgres container w/ required starrs pkgs

Streamline creation of database

The user no longer has to configure the database by themself.
This commit is contained in:
Will Nilges 2021-10-05 00:47:26 -04:00
parent 74a0990997
commit c641ba1d1c
7 changed files with 292 additions and 304 deletions

View file

@ -1,8 +1,12 @@
FROM postgres:12
RUN apt-get update \
&& apt-get install -y postgresql-plperl-12 \
&& apt-get install -y postgresql-plpython3-12 \
&& apt-get install -y libnet-ip-perl perl-net libnet-ldap-perl libnet-dns-perl libnet-snmp-perl libnet-server-mail-perl libcrypt-des-perl \
&& apt-get install -y libperl-dev build-essential \
&& apt-get install -y postgresql-plperl-12 postgresql-plpython3-12 libnet-ip-perl libnet-ldap-perl libnet-dns-perl libnet-snmp-perl libnet-server-mail-perl libcrypt-des-perl build-essential cpanminus \
&& rm -rf /var/lib/apt/lists/*
RUN cpanm Data::Validate::Domain
RUN apt-get remove -y build-essential
COPY ./schema/large.sql /docker-entrypoint-initdb.d/

File diff suppressed because it is too large Load diff