Skip to content

Commit a2d9b6b

Browse files
nitinryaligodlygeek
andcommitted
Update Dockerfile from Ubuntu 22.04 to 24.04
Prevent the test suite from reaching out to the Ubuntu debuginfod server when tests are run in the devcontainer, as otherwise one of the tests hangs while trying to symbolize due to an ongoing DDOS attack targeting Ubuntu. Since we don't need the debuginfod server, there's no need to add any load to it. Co-authored-by: Matt Wozniski <godlygeek@gmail.com>
1 parent 6c1c156 commit a2d9b6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Elfutils build stage
2-
FROM ubuntu:22.04 AS elfutils_builder
2+
FROM ubuntu:24.04 AS elfutils_builder
33
ARG DEBIAN_FRONTEND=noninteractive
44
ENV VERS=0.193
55

@@ -35,7 +35,7 @@ RUN apt-get update \
3535
&& make install
3636

3737
# Stage 2: Final stage
38-
FROM ubuntu:22.04
38+
FROM ubuntu:24.04
3939
ARG DEBIAN_FRONTEND=noninteractive
4040

4141
# Install runtime dependencies
@@ -79,7 +79,7 @@ RUN apt-get update \
7979
libbz2-dev \
8080
zlib1g-dev \
8181
&& apt-get clean \
82-
&& rm -rf /var/lib/apt/lists/*
82+
&& rm -rf /var/lib/apt/lists/* /etc/debuginfod/*.urls
8383

8484
# Copy the installed files from the elfutils_builder stage
8585
COPY --from=elfutils_builder /usr/local /usr/local

0 commit comments

Comments
 (0)