From 3a050c85a61bf881756166b66cb24bc30363531f Mon Sep 17 00:00:00 2001 From: David Byron Date: Wed, 12 Feb 2025 15:34:23 -0800 Subject: [PATCH] fix(ubuntu): add commands so apt-get can install libc specifically: rm /var/lib/dpkg/info/libc-bin.* && apt-get clean to fix errors like #10 97.63 Processing triggers for libc-bin (2.35-0ubuntu3.8) ... #10 97.71 qemu: uncaught target signal 11 (Segmentation fault) - core dumped #10 98.12 Segmentation fault (core dumped) #10 98.17 qemu: uncaught target signal 11 (Segmentation fault) - core dumped #10 98.55 Segmentation fault (core dumped) #10 98.56 dpkg: error processing package libc-bin (--configure): #10 98.56 installed libc-bin package post-installation script subprocess returned error exit status 139 from https://github.com/spinnaker/gate/actions/runs/13294117905/job/37121769288?pr=1868 suggestion from https://stackoverflow.com/a/78107622 --- Dockerfile.ubuntu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index bedcf5213f..ccc01d7656 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -1,6 +1,6 @@ FROM ubuntu:jammy LABEL maintainer="sig-platform@spinnaker.io" -RUN apt-get update && apt-get -y install curl openjdk-17-jre-headless wget +RUN rm /var/lib/dpkg/info/libc-bin.* && apt-get clean && apt-get update && apt-get -y install curl openjdk-17-jre-headless wget RUN adduser --system --uid 10111 --group spinnaker COPY gate-web/build/install/gate /opt/gate RUN mkdir -p /opt/gate/plugins && chown -R spinnaker:nogroup /opt/gate/plugins