diff --git a/.devcontainer/.vscode/c_cpp_properties.json b/.devcontainer/.vscode/c_cpp_properties.json index d38a3c15e..0b07ea8f0 100644 --- a/.devcontainer/.vscode/c_cpp_properties.json +++ b/.devcontainer/.vscode/c_cpp_properties.json @@ -20,36 +20,6 @@ ], "configurationProvider": "ms-vscode.makefile-tools" }, - { - "name": "Citus Development Configuration - Postgres 13.11", - "includePath": [ - "/usr/local/include", - "/home/citus/.pgenv/src/postgresql-13.11/src/**", - "${workspaceFolder}/**", - "${workspaceFolder}/src/include/", - ], - "configurationProvider": "ms-vscode.makefile-tools" - }, - { - "name": "Citus Development Configuration - Postgres 12.15", - "includePath": [ - "/usr/local/include", - "/home/citus/.pgenv/src/postgresql-12.15/src/**", - "${workspaceFolder}/**", - "${workspaceFolder}/src/include/", - ], - "configurationProvider": "ms-vscode.makefile-tools" - }, - { - "name": "Citus Development Configuration - Postgres 16beta2", - "includePath": [ - "/usr/local/include", - "/home/citus/.pgenv/src/postgresql-16beta2/src/**", - "${workspaceFolder}/**", - "${workspaceFolder}/src/include/", - ], - "configurationProvider": "ms-vscode.makefile-tools" - }, ], "version": 4 } \ No newline at end of file diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 17d9f0d2d..41f0e8da0 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -51,28 +51,6 @@ ENV PATH="/home/citus/.pgenv/pgsql/bin:${PATH}" USER citus # build postgres versions separately for effective parrallelism and caching of already built versions when changing only certain versions -FROM base AS pg12 -RUN pgenv build 12.15 -RUN rm .pgenv/src/*.tar* -RUN make -C .pgenv/src/postgresql-*/ clean - -# create a staging directory with all files we want to copy from our pgenv build -# we will copy the contents of the staged folder into the final image at once -RUN mkdir .pgenv-staging/ -RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/ -RUN rm .pgenv-staging/config/default.conf - -FROM base AS pg13 -RUN pgenv build 13.11 -RUN rm .pgenv/src/*.tar* -RUN make -C .pgenv/src/postgresql-*/ clean - -# create a staging directory with all files we want to copy from our pgenv build -# we will copy the contents of the staged folder into the final image at once -RUN mkdir .pgenv-staging/ -RUN cp -r .pgenv/src .pgenv/pgsql-* .pgenv/config .pgenv-staging/ -RUN rm .pgenv-staging/config/default.conf - FROM base AS pg14 RUN pgenv build 14.8 RUN rm .pgenv/src/*.tar* @@ -156,11 +134,9 @@ RUN git clone https://github.com/so-fancy/diff-so-fancy.git \ COPY --from=uncrustify-builder /uncrustify/usr/ /usr/ -COPY --from=pg12 /home/citus/.pgenv-staging/ /home/citus/.pgenv/ -COPY --from=pg13 /home/citus/.pgenv-staging/ /home/citus/.pgenv/ COPY --from=pg14 /home/citus/.pgenv-staging/ /home/citus/.pgenv/ COPY --from=pg15 /home/citus/.pgenv-staging/ /home/citus/.pgenv/ -COPY --from=pg16 /home/citus/.pgenv-staging/ /home/citus/.pgenv/ +# COPY --from=pg16 /home/citus/.pgenv-staging/ /home/citus/.pgenv/ # place to run your cluster with citus_dev VOLUME /data