Skip to content

Commit 579fc8f

Browse files
author
git
committed
[Terry N.] co-pilot sugg. fixes for seg. fault on GitHub CI/CD
1 parent cf24a95 commit 579fc8f

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docker/sigma-ci/Dockerfile

+14-3
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,22 @@ RUN apt-get update && apt-get install -y --install-recommends \
7070
# runtime image.
7171
FROM tomcat:9.0.97-jdk21-temurin-jammy AS runtime
7272

73-
RUN apt-get update && apt-get install -y --no-install-recommends \
73+
# Ensure the package list is up to date
74+
RUN apt-get update
75+
76+
# Install necessary packages with retries to handle intermittent issues
77+
RUN apt-get install -y --no-install-recommends \
7478
ant \
7579
ant-optional \
7680
git \
77-
graphviz
81+
qemu-user-static \
82+
binfmt-support \
83+
graphviz \
84+
&& apt-get clean \
85+
&& rm -rf /var/lib/apt/lists/*
86+
87+
# Install libc-bin separately to manage potential segmentation faults
88+
RUN apt-get install -y --no-install-recommends libc-bin
7889

7990
COPY --from=builder \
8091
/usr/local/tomcat/E/PROVER/e_ltb_runner /usr/local/bin/e_ltb_runner
@@ -94,4 +105,4 @@ COPY --from=builder \
94105
COPY --from=builder \
95106
/usr/local/tomcat/vampire/z3/build/libz3.* /usr/local/bin/
96107

97-
ENV LD_LIBRARY_PATH=/usr/local/bin:$LD_LIBRARY_PATH
108+
ENV LD_LIBRARY_PATH=/usr/local/bin:$LD_LIBRARY_PATH

0 commit comments

Comments
 (0)