pcuenq HF staff commited on
Commit
23d682b
1 Parent(s): e912792

Delete ubuntu user

Browse files
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 \