Skip to content

Commit feeee29

Browse files
committed
Do not define the user ID in containers
- may cause ID clashes in CI
1 parent c4b7e66 commit feeee29

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/dockerfiles/Dockerfile_debian

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN apt-get update && apt-get install -y \
3131

3232
RUN apt-get clean
3333

34-
RUN useradd -u 1000 pyfakefs
34+
RUN useradd pyfakefs
3535

3636
RUN mkdir -p work \
3737
&& wget https://github.com/$github_repo/archive/$github_branch.zip -O archive.zip \

.github/workflows/dockerfiles/Dockerfile_fedora

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ARG github_branch=main
2323

2424
RUN dnf install -y python3-pip unzip wget
2525

26-
RUN useradd -u 1000 pyfakefs
26+
RUN useradd pyfakefs
2727

2828
RUN mkdir -p work \
2929
&& wget https://github.com/$github_repo/archive/$github_branch.zip -O archive.zip \

.github/workflows/dockerfiles/Dockerfile_redhat

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ENV LANG en_US.UTF-8
2626
ENV LANGUAGE en_US:en
2727
ENV LC_COLLATE C.UTF-8
2828

29-
RUN useradd -u 1000 pyfakefs
29+
RUN useradd pyfakefs
3030

3131
RUN mkdir -p work \
3232
&& wget https://github.com/$github_repo/archive/$github_branch.zip -O archive.zip \

.github/workflows/dockerfiles/Dockerfile_ubuntu

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN apt-get update && apt-get install -y \
3131

3232
RUN apt-get clean
3333

34-
RUN useradd -u 1000 pyfakefs
34+
RUN useradd pyfakefs
3535

3636
RUN mkdir -p work \
3737
&& wget https://github.com/$github_repo/archive/$github_branch.zip -O archive.zip \

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \
3939
wget
4040
RUN apt-get clean
4141

42-
RUN useradd -u 1000 pyfakefs
42+
RUN useradd pyfakefs
4343

4444
RUN wget https://github.com/pytest-dev/pyfakefs/archive/main.zip \
4545
&& unzip main.zip \

0 commit comments

Comments
 (0)