Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions images/ubuntu/25.10/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ RUN apt-get update && \
rm -rd /var/lib/apt/lists/*
RUN rm /extra-packages

# Work around https://github.com/trifectatechfoundation/sudo-rs/issues/1656
# Fixed in sudo-rs 0.2.15:
# https://github.com/trifectatechfoundation/sudo-rs/pull/1657
# https://github.com/trifectatechfoundation/sudo-rs/commit/5debfcf1aa775201
RUN echo "%sudo ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/90-toolbx-nopasswd && \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strictly speaking, this comment is redundant because the code below it is self-explanatory and it repeats the Git commit message. If we want to have a comment, then it will be a lot more valuable to say that this is a workaround because it is obscure and unclear. :)

chmod 0440 /etc/sudoers.d/90-toolbx-nopasswd

# Enable the use of p11-kit-client.so to access CA certificates from the host
RUN mkdir --parents /etc/pkcs11/modules

Expand Down
7 changes: 7 additions & 0 deletions images/ubuntu/26.04/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ RUN apt-get update && \
rm -rd /var/lib/apt/lists/*
RUN rm /extra-packages

# Work around https://github.com/trifectatechfoundation/sudo-rs/issues/1656
# Fixed in sudo-rs 0.2.15:
# https://github.com/trifectatechfoundation/sudo-rs/pull/1657
# https://github.com/trifectatechfoundation/sudo-rs/commit/5debfcf1aa775201
RUN echo "%sudo ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/90-toolbx-nopasswd && \
chmod 0440 /etc/sudoers.d/90-toolbx-nopasswd

# Enable the use of p11-kit-client.so to access CA certificates from the host
RUN mkdir --parents /etc/pkcs11/modules

Expand Down
Loading