tuts4y0u commited on
Commit
33e0106
1 Parent(s): 50463a7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -1,6 +1,5 @@
1
  FROM debian:sid
2
- USER root
3
- RUN /bin/hostname hf-server
4
  RUN chown root:shadow /etc/shadow; chmod 640 /etc/shadow;
5
  RUN [ -r /sbin/unix_chkpwd ] && chmod 2755 /sbin/unix_chkpwd || echo "/sbin/unix_chkpwd skipped"
6
  RUN useradd -d /home/user -s /bin/bash -m -u 1000 user
 
1
  FROM debian:sid
2
+ RUN hostnamectl set-hostname hf-server
 
3
  RUN chown root:shadow /etc/shadow; chmod 640 /etc/shadow;
4
  RUN [ -r /sbin/unix_chkpwd ] && chmod 2755 /sbin/unix_chkpwd || echo "/sbin/unix_chkpwd skipped"
5
  RUN useradd -d /home/user -s /bin/bash -m -u 1000 user