Skip to content

Commit 7ccca4c

Browse files
committed
Run Docker builder as root
1 parent d159c85 commit 7ccca4c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

python-versions/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ ARG TARGETARCH
1515
ARG PYTHON_VERSION
1616
ARG ACTIONS_PYTHON_VERSIONS
1717

18+
# The upstream PowerShell image switches to a non-root user; switch back so apt can write system files.
19+
USER root
20+
1821
# Set environment variables
1922
ENV DEBIAN_FRONTEND=noninteractive \
2023
CC=gcc \

0 commit comments

Comments
 (0)