From 1360361f602f4e253257033e21ccdbfd8bcc542e Mon Sep 17 00:00:00 2001 From: sharnoff Date: Tue, 28 Feb 2023 21:11:00 -0800 Subject: [PATCH] Fix missing VM cgconfig.conf (#3718) It was being added to the wrong stage in the dockerfile. This should fix it, and resolves an ongoing issue on staging. --- Dockerfile.vm-compute-node | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.vm-compute-node b/Dockerfile.vm-compute-node index af3bfb3590..9929c9b675 100644 --- a/Dockerfile.vm-compute-node +++ b/Dockerfile.vm-compute-node @@ -10,7 +10,6 @@ RUN set -e \ && rm -f /etc/inittab \ && touch /etc/inittab -ADD vm-cgconfig.conf /etc/cgconfig.conf RUN set -e \ && echo "::sysinit:cgconfigparser -l /etc/cgconfig.conf -s 1664" >> /etc/inittab \ && echo "::respawn:su vm-informant -c '/usr/local/bin/vm-informant --auto-restart --cgroup=neon-postgres'" >> /etc/inittab @@ -26,6 +25,7 @@ RUN apt update && \ RUN adduser vm-informant --disabled-password --no-create-home USER postgres +ADD vm-cgconfig.conf /etc/cgconfig.conf COPY --from=informant /etc/inittab /etc/inittab COPY --from=informant /usr/bin/vm-informant /usr/local/bin/vm-informant