Skip to content

Commit e677aeb

Browse files
committed
add comment
1 parent fa5a841 commit e677aeb

File tree

1 file changed

+3
-0
lines changed
  • .github/workflows/containers/github-action-ci-tooling

1 file changed

+3
-0
lines changed

.github/workflows/containers/github-action-ci-tooling/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ RUN apt-get update && \
4242
RUN useradd gha -u 1001 -m -s /bin/bash
4343
RUN adduser gha sudo
4444
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
45+
# Don't set USER gha right away because we still need to install packages
46+
# as root in 'ci-container-code-format' and 'ci-container-code-lint' containers
47+
4548

4649
FROM base AS ci-container-code-format
4750
ARG LLVM_VERSION

0 commit comments

Comments
 (0)