diff --git a/Dockerfile b/Dockerfile index 97fe8d3..456ea72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib rm -rf /etc/apt/sources.list.d/debian.sources && \ mkdir -p /tmp/build && apt-get update && \ apt-mark hold locales && \ - apt-get install -y --no-install-recommends build-essential git cmake postgresql-server-dev-$PG_MAJOR + apt-get install -y --no-install-recommends curl build-essential git cmake postgresql-server-dev-$PG_MAJOR # PG VECTOR @@ -30,7 +30,6 @@ RUN cd /tmp/build/timescaledb && git checkout . && git checkout 2.14.2 && ./boot # CLEAN RUN rm -r /tmp/build && \ - apt-get remove -y build-essential git postgresql-server-dev-$PG_MAJOR && \ - apt-get autoremove -y && \ + apt-get autoremove --purge -y build-essential git postgresql-server-dev-$PG_MAJOR && \ apt-mark unhold locales && \ rm -rf /var/lib/apt/lists/* \ No newline at end of file