From 492c0c978126923a4f4db20b62bc1a3cf45a9e7a Mon Sep 17 00:00:00 2001 From: Nils Dijk Date: Thu, 3 Aug 2023 14:15:09 +0200 Subject: [PATCH] fix ownership of github actions built images --- .devcontainer/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e9d93efcac8..937cef632c6 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -166,5 +166,9 @@ RUN sudo mkdir /data \ COPY --chown=citus:citus .psqlrc . +# with the copy linking of layers github actions seem to misbehave with the ownership of the +# directories leading upto the link, hence a small patch layer to have to right ownerships set +RUN sudo chown citus:citus ~/.pgenv ~/.local ~/.local/share ~/.local/share/virtualenvs + # sets default pg version -# RUN pgenv switch latest 15 +RUN pgenv switch latest 15