tastypear commited on
Commit
ad3ab21
·
verified ·
1 Parent(s): 7a57a59

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM ubuntu:latest
2
 
3
- RUN apt update -y && apt install -y git gcc wget gzip busybox sudo dropbear fakeroot curl lsof net-tools python3 python3-pip systemd
4
  # RUN apt install gosu locales mosh
5
  # RUN locale-gen en_US.UTF-8
6
  # ENV GOSU_PLEASE_LET_ME_BE_COMPLETELY_INSECURE_I_GET_TO_KEEP_ALL_THE_PIECES="I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhäuser Gate. All those moments will be lost in time, like tears in rain. Time to die."
@@ -12,6 +12,7 @@ RUN echo "ubuntu::19879:0:99999:7:::" >> /etc/shadow
12
  # RUN echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
13
  # RUN chmod 777 /etc/passwd && chmod 6755 /usr/sbin/gosu
14
  RUN chmod 777 /etc/shadow && chmod 777 /etc/dropbear/*
 
15
 
16
  USER ubuntu
17
  WORKDIR /home/ubuntu
 
1
  FROM ubuntu:latest
2
 
3
+ RUN apt update -y && apt install -y git gcc wget gzip busybox sudo dropbear fakeroot curl lsof net-tools python3 python3-pip inetutils
4
  # RUN apt install gosu locales mosh
5
  # RUN locale-gen en_US.UTF-8
6
  # ENV GOSU_PLEASE_LET_ME_BE_COMPLETELY_INSECURE_I_GET_TO_KEEP_ALL_THE_PIECES="I've seen things you people wouldn't believe. Attack ships on fire off the shoulder of Orion. I watched C-beams glitter in the dark near the Tannhäuser Gate. All those moments will be lost in time, like tears in rain. Time to die."
 
12
  # RUN echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
13
  # RUN chmod 777 /etc/passwd && chmod 6755 /usr/sbin/gosu
14
  RUN chmod 777 /etc/shadow && chmod 777 /etc/dropbear/*
15
+ RUN hostname localhost
16
 
17
  USER ubuntu
18
  WORKDIR /home/ubuntu