File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,7 @@ ADD sycl_linux.tar.gz /opt/sycl/
12
12
ENV PATH /opt/sycl/bin:$PATH
13
13
ENV LD_LIBRARY_PATH /opt/sycl/lib:$LD_LIBRARY_PATH
14
14
15
- # For preinstalled containers we create a different user which has
16
- # password-less sudo access
17
- RUN /user-setup.sh --regular
18
- USER sycl
15
+ USER sycl_ci
19
16
20
17
ENTRYPOINT ["/bin/bash" , "/drivers_entrypoint.sh" ]
21
18
Original file line number Diff line number Diff line change @@ -143,10 +143,20 @@ instructions.
143
143
144
144
## Changing Docker user
145
145
146
- By default all processes inside Docker run as root. Some LLVM or Clang tests
147
- expect your user to be anything but root. You can change the user by specifying
148
- ` -u <username or uid> ` option. All Docker containers come with user ` sycl `
149
- created.
146
+ By default all processes within our containers are run as ` sycl_ci ` user.
147
+ Note: it ** does not** have password-less ` root ` access.
148
+
149
+ If you want to change the user, you can do that by specifying
150
+ ` -u <username or uid> ` option when running the container.
151
+
152
+ All containers come with ` /user-setup.sh ` script which can used to create ` sycl `
153
+ user which has all the same groups as ` sycl_ci ` user, but also has passwrod-less
154
+ access to ` root ` . Use the script as follows:
155
+
156
+ ``` bash
157
+ # Note: the script requires root permissions to create a new user
158
+ /user-setup.sh --regular
159
+ ```
150
160
151
161
## Managing downloaded Docker images
152
162
You can’t perform that action at this time.
0 commit comments