1tbfree commited on
Commit
df5dac1
·
verified ·
1 Parent(s): ed7277b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use a base image that supports systemd, for example, Ubuntu
2
- FROM ubuntu:latest
3
 
4
  # Install necessary packages
5
  RUN apt-get update && \
@@ -13,4 +13,5 @@ RUN echo 'root:root' | chpasswd
13
  EXPOSE 4200
14
 
15
  # Start shellinabox
 
16
  CMD ["/usr/bin/shellinaboxd", "-t", "-s", "/:LOGIN"]
 
1
  # Use a base image that supports systemd, for example, Ubuntu
2
+ FROM ubuntu:20.04
3
 
4
  # Install necessary packages
5
  RUN apt-get update && \
 
13
  EXPOSE 4200
14
 
15
  # Start shellinabox
16
+ USER root
17
  CMD ["/usr/bin/shellinaboxd", "-t", "-s", "/:LOGIN"]