Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ALVSoft authored Jul 17, 2024
1 parent 06b0aa9 commit cdff53f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,19 @@ RUN apt-get update && \
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
SHELL [ "/bin/sh", "-s", ".", "$HOME/.cargo/env" ]
RUN cargo install pg-trunk
SHELL ["/bin/sh", "-c"]

RUN trunk install \
postgis \
pgrouting \
pghydro \
pgvector \
pg_partman \
pgmq \
postgresml

RUN cargo uninstall pg-trunk && \
rustup self uninstall && \
apt-get clean && \
postgresml && \
cargo uninstall pg-trunk && \
rustup self uninstall

SHELL ["/bin/sh", "-c"]
RUN apt-get clean && \
apt-get remove curl && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down

0 comments on commit cdff53f

Please sign in to comment.