pcuenq HF staff commited on
Commit
3e90a8d
1 Parent(s): e912792

Delete ubuntu user (#128)

Browse files

- Delete ubuntu user (23d682b01a7e58c03e43b06a2503f9fbc8dc545b)

Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -9,6 +9,8 @@ RUN mkdir -p /var/cache/nginx \
9
  /var/lib/nginx
10
  RUN touch /var/run/nginx.pid
11
 
 
 
12
  RUN chown -R 1000:1000 /var/cache/nginx \
13
  /var/log/nginx \
14
  /var/lib/nginx \
 
9
  /var/lib/nginx
10
  RUN touch /var/run/nginx.pid
11
 
12
+ # Ubuntu 24.04 includes ubuntu with uid 1000
13
+ RUN userdel -r ubuntu
14
  RUN chown -R 1000:1000 /var/cache/nginx \
15
  /var/log/nginx \
16
  /var/lib/nginx \