proxstar/HACKING/proxstar-postgres/Dockerfile
Will Nilges 57ab376296 Move "developing" to "HACKING"
It sounds cooler
2022-06-18 21:54:53 -04:00

11 lines
624 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 curl \
&& rm -rf /var/lib/apt/lists/* \
&& cpanm Data::Validate::Domain \
&& apt-get remove -y build-essential
#COPY ./schema/large.sql /docker-entrypoint-initdb.d/ # Woa there, pal; That's a lot of S C H E M A.
# I volunteer as tribute. DM me if this breaks.
RUN curl https://csh.rit.edu/~wilnil/proxstar-postgres/large.sql -o /docker-entrypoint-initdb.d/large.sql