mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-14 22:11:51 +00:00
Streamline creation of database The user no longer has to configure the database by themself.
12 lines
408 B
Docker
12 lines
408 B
Docker
FROM postgres:12
|
|
|
|
RUN apt-get update \
|
|
&& 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/
|
|
|