Repository navigation
.github/workflows, images/ubuntu: Add image definition for Ubuntu 25.10 - #1801
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a Containerfile and an extra-packages list to build a toolbox container image for Ubuntu 25.10. The review feedback focuses on improving the robustness of the build process, specifically recommending the use of rm -f instead of rm to avoid failures if files are missing, using the standard rm -rf for cleaning up apt lists, and appending || true to the userdel command to handle cases where the user does not exist.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| RUN apt-get update && \ | ||
| DEBIAN_FRONTEND=noninteractive apt-get -y install unminimize && \ | ||
| sed -Ei '/apt-get (update|upgrade)/s/^/#/' /usr/bin/unminimize && \ | ||
| yes | /usr/bin/unminimize && \ | ||
| DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
| ubuntu-minimal ubuntu-standard \ | ||
| libnss-myhostname \ | ||
| flatpak-xdg-utils \ | ||
| $(cat extra-packages | xargs) && \ | ||
| rm -rd /var/lib/apt/lists/* |
There was a problem hiding this comment.
Using rm -rd is non-standard for cleaning up /var/lib/apt/lists/*. Using rm -rf is the standard, robust, and idiomatic way to clean up apt lists in Dockerfiles.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y install unminimize && \
sed -Ei '/apt-get (update|upgrade)/s/^/#/' /usr/bin/unminimize && \
yes | /usr/bin/unminimize && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
ubuntu-minimal ubuntu-standard \
libnss-myhostname \
flatpak-xdg-utils \
$(cat extra-packages | xargs) && \
rm -rf /var/lib/apt/lists/*
containers#1801 Signed-off-by: Ferenc Géczi <[email protected]>
|
✔️ unit-test SUCCESS in 2m 25s |
|
recheck |
|
✔️ unit-test SUCCESS in 2m 14s |
|
recheck |
|
✔️ unit-test SUCCESS in 2m 29s |
containers#1801 Signed-off-by: Ferenc Géczi <[email protected]>
|
Rebased against |
|
✔️ unit-test SUCCESS in 3m 16s |
This is interesting: We need to do something to not hard code that port number, but a port collision happens so rarely that we never got around to it. Let's try it again. |
|
recheck |
|
✔️ unit-test SUCCESS in 2m 23s |
|
Thanks for your contribution, @Ferenc- ! |
Add Ubuntu 25.10 image.