mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
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:
parent
74a0990997
commit
c641ba1d1c
7 changed files with 292 additions and 304 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue