citus/.devcontainer
Nils Dijk fb08f9b198
Remove software-properties-common from dev container after use (#7255)
During the creation of the devcontainer we need to add a ppa repository,
which is easiest done via software-properies-common. As turns out this
installes pkexec into the container as a side effect.

When vscode tries to attach a debugger it first checks if pkexec is
installed as this gives a nicer popup asking for elevation of rights to
attach to the process. However, since dev containers don't have a
windowing system running pkexec isn't working as expected and thus
prevents the debugger from attaching.

Without pkexec in the container vscode 'falls back' to plain old sudo
which we can run passwordless in the container.

For pkexec to be removed we need to first purge
software-propertied-common as well as autoremove all packages that were
installed due to the installation of said package. By performing this
all in one step we minimize the size of the layer we are creating.
2023-10-12 17:47:44 +02:00
..
.vscode Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
pgenv/config Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
src/test/regress Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
.gdbinit Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
.gitignore Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
.psqlrc Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
Dockerfile Remove software-properties-common from dev container after use (#7255) 2023-10-12 17:47:44 +02:00
Makefile Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
devcontainer.json Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00