mirror of https://github.com/citusdata/citus.git
dynamically create the .vscode configurations
parent
48d99989d3
commit
68250d25d3
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Citus Development Configuration",
|
||||
"includePath": [
|
||||
"/usr/local/include",
|
||||
"${workspaceFolder}/**",
|
||||
"/home/citus/.pgenv/src/postgresql-14.2/src/",
|
||||
"/home/citus/.pgenv/src/postgresql-14.2/src/include/",
|
||||
"/home/citus/.pgenv/src/postgresql-14.2/src/interfaces/libpq/",
|
||||
"${workspaceFolder}/src/include/",
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
|
@ -65,7 +65,7 @@ FROM base AS pg12
|
|||
RUN pgenv build 12.10
|
||||
RUN rm .pgenv/src/*.tar*
|
||||
# TODO remove excessive artifacts for smaller images
|
||||
RUN make -C .pgenv/src/postgresql-*/ clean
|
||||
#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
|
||||
|
@ -78,7 +78,7 @@ FROM base AS pg13
|
|||
RUN pgenv build 13.6
|
||||
RUN rm .pgenv/src/*.tar*
|
||||
# TODO remove excessive artifacts for smaller images
|
||||
RUN make -C .pgenv/src/postgresql-*/ clean
|
||||
#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
|
||||
|
@ -91,7 +91,7 @@ FROM base AS pg14
|
|||
RUN pgenv build 14.2
|
||||
RUN rm .pgenv/src/*.tar*
|
||||
# TODO remove excessive artifacts for smaller images
|
||||
RUN make -C .pgenv/src/postgresql-*/ clean
|
||||
#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
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
init: ../.vscode/c_cpp_properties.json ../.vscode/launch.json
|
||||
|
||||
../.vscode:
|
||||
mkdir ../.vscode
|
||||
|
||||
../.vscode/launch.json: ../.vscode
|
||||
cp .vscode/launch.json ../.vscode/launch.json
|
||||
|
||||
../.vscode/c_cpp_properties.json: ../.vscode
|
||||
cp .vscode/c_cpp_properties.json ../.vscode/c_cpp_properties.json
|
|
@ -13,5 +13,6 @@
|
|||
"mounts": [
|
||||
"type=volume,target=/data",
|
||||
],
|
||||
"updateContentCommand": "./configure"
|
||||
"updateContentCommand": "./configure",
|
||||
"postCreateCommand": "make -C .devcontainer/",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue