mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 13:01:51 +00:00
Compress schema
That really is a lot of schema, huh
This commit is contained in:
parent
013b91f2f0
commit
821b0e18d9
3 changed files with 7 additions and 16077 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
FROM debian AS builder
|
||||||
|
|
||||||
|
RUN apt update; apt install unzip
|
||||||
|
COPY ./schema.zip .
|
||||||
|
RUN unzip schema.zip
|
||||||
|
|
||||||
FROM postgres:12
|
FROM postgres:12
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
|
@ -6,4 +12,4 @@ RUN apt-get update \
|
||||||
&& cpanm Data::Validate::Domain \
|
&& cpanm Data::Validate::Domain \
|
||||||
&& apt-get remove -y build-essential
|
&& apt-get remove -y build-essential
|
||||||
|
|
||||||
COPY ./schema/large.sql /docker-entrypoint-initdb.d/
|
COPY --from=builder large.sql /docker-entrypoint-initdb.d/
|
||||||
|
|
BIN
HACKING/proxstar-postgres/schema.zip
Normal file
BIN
HACKING/proxstar-postgres/schema.zip
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue