mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 21:11:53 +00:00
15 lines
526 B
Docker
15 lines
526 B
Docker
FROM debian AS builder
|
|
|
|
RUN apt update; apt install unzip
|
|
COPY ./schema.zip .
|
|
RUN unzip schema.zip
|
|
|
|
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 curl \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& cpanm Data::Validate::Domain \
|
|
&& apt-get remove -y build-essential
|
|
|
|
COPY --from=builder large.sql /docker-entrypoint-initdb.d/
|