Skip to content

Commit 13c1726

Browse files
committed
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 #9 39.69 Setting up libc-bin (2.35-0ubuntu3.9) ... #9 39.83 qemu: uncaught target signal 11 (Segmentation fault) - core dumped #9 40.19 Segmentation fault (core dumped) #9 40.24 qemu: uncaught target signal 11 (Segmentation fault) - core dumped #9 40.64 Segmentation fault (core dumped) #9 40.64 dpkg: error processing package libc-bin (--configure): #9 40.64 installed libc-bin package post-installation script subprocess returned error exit status 139 #9 40.65 Errors were encountered while processing: #9 40.65 libc-bin #9 40.73 E: Sub-process /usr/bin/dpkg returned an error code (1) from https://github.com/spinnaker/halyard/actions/runs/13294126631/job/37121795924?pr=2207 suggestion from https://stackoverflow.com/a/78107622
1 parent ea559f3 commit 13c1726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.ubuntu

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV KUBECTL_RELEASE=1.15.10
66
ENV AWS_BINARY_RELEASE_DATE=2020-02-22
77
ENV AWS_CLI_VERSION=2.15.57
88

9-
RUN apt-get update && \
9+
RUN rm /var/lib/dpkg/info/libc-bin.* && apt-get clean && apt-get update && \
1010
apt-get upgrade -y && \
1111
apt-get install -y \
1212
openjdk-17-jre-headless \

0 commit comments

Comments
 (0)