From cdff53f26cf4cce2051c6797ace852f0a6b85874 Mon Sep 17 00:00:00 2001 From: ATCHOMBA Vindjedou Date: Wed, 17 Jul 2024 21:30:33 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7295fe..61f4c3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,6 @@ 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 \ @@ -33,11 +31,12 @@ RUN trunk install \ 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/*