From 07fa37a36710866ae4085bfb7c767f3554a4965d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 15 Apr 2024 21:43:50 +0200 Subject: [PATCH] fix workstation build --- actions/sentry-cleanup.yaml | 4 ++-- images/workstation/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/actions/sentry-cleanup.yaml b/actions/sentry-cleanup.yaml index cc92d4c1..739d8d28 100644 --- a/actions/sentry-cleanup.yaml +++ b/actions/sentry-cleanup.yaml @@ -14,8 +14,8 @@ - name: Vacuum nodestore_node (first pass) community.docker.docker_container_exec: container: sentry-self-hosted-postgres-1 - command: psql -U sentry -c "vacuum public.nodestore_node;" + command: psql -U postgres -c "vacuum public.nodestore_node;" - name: Vacuum nodestore_node (second pass) community.docker.docker_container_exec: container: sentry-self-hosted-postgres-1 - command: psql -U sentry -c "vacuum full public.nodestore_node;" + command: psql -U postgres -c "vacuum full public.nodestore_node;" diff --git a/images/workstation/Dockerfile b/images/workstation/Dockerfile index 044a2c1a..21cd734a 100644 --- a/images/workstation/Dockerfile +++ b/images/workstation/Dockerfile @@ -64,8 +64,8 @@ RUN curl -L https://github.com/BeryJu/korb/releases/latest/download/korb_linux_a COPY --from=docker.io/minio/mc:RELEASE.2023-10-04T06-52-56Z /bin/mc /usr/bin/mc # kubectl -RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \ - echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list && \ +RUN curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg && \ + echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | tee /etc/apt/sources.list.d/kubernetes.list && \ apt-get update && \ apt-get install --no-install-recommends -y kubectl