File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ FROM arm32v7/ubuntu:bionic
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
4
5
- RUN groupadd --gid 1000 builduser \
6
- && useradd --uid 1000 --gid builduser --shell /bin/bash --create-home builduser
5
+ # Github uses uid 1001 and gid 121
6
+ RUN groupadd --gid 121 builduser \
7
+ && useradd --uid 1001 --gid builduser --shell /bin/bash --create-home builduser
7
8
8
9
RUN apt-get update && apt-get install -y --no-install-recommends \
9
10
software-properties-common \
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ FROM ${REPO}:${TAG}
4
4
5
5
ARG DEBIAN_FRONTEND=noninteractive
6
6
7
- RUN groupadd --gid 1000 builduser \
8
- && useradd --uid 1000 --gid builduser --shell /bin/bash --create-home builduser
7
+ # Github uses uid 1001 and gid 121
8
+ RUN groupadd --gid 121 builduser \
9
+ && useradd --uid 1001 --gid builduser --shell /bin/bash --create-home builduser
9
10
10
11
# ubuntu keeps its i386/amd64 and other architecture repos separate
11
12
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ FROM ${REPO}:${TAG}
4
4
5
5
ARG DEBIAN_FRONTEND=noninteractive
6
6
7
- RUN groupadd --gid 1000 builduser \
8
- && useradd --uid 1000 --gid builduser --shell /bin/bash --create-home builduser
7
+ # Github uses uid 1001 and gid 121
8
+ RUN groupadd --gid 121 builduser \
9
+ && useradd --uid 1001 --gid builduser --shell /bin/bash --create-home builduser
9
10
10
11
# ubuntu keeps its i386/amd64 and other architecture repos separate
11
12
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ FROM ${REPO}:${TAG}
4
4
5
5
ARG DEBIAN_FRONTEND=noninteractive
6
6
7
- RUN groupadd --gid 1000 builduser \
8
- && useradd --uid 1000 --gid builduser --shell /bin/bash --create-home builduser \
7
+ # Github uses uid 1001 and gid 121
8
+ RUN groupadd --gid 121 builduser \
9
+ && useradd --uid 1001 --gid builduser --shell /bin/bash --create-home builduser \
9
10
&& mkdir -p /setup
10
11
11
12
# Set up TEMP directory
You can’t perform that action at this time.
0 commit comments