Guest User

mnedelchevbg/ubuntu Dockerfile

a guest
Nov 16th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. FROM ubuntu:latest
  2.  
  3. # Install.
  4. RUN \
  5. sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
  6. apt-get update && \
  7. apt-get -y upgrade && \
  8. # apt-get install -y build-essential && \
  9. # apt-get install -y software-properties-common && \
  10. apt-get install -y curl git htop man unzip vim wget telnet dnsutils zsh && \
  11. rm -rf /var/lib/apt/lists/*
  12.  
  13. RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true && \
  14. sed -i 's/robbyrussell/gianu/g' ~/.zshrc
  15.  
  16. # Set environment variables.
  17. ENV HOME /root
  18.  
  19. # Define working directory.
  20. WORKDIR /root
  21.  
  22. # Define default command.
  23. CMD ["zsh"]
Advertisement
Add Comment
Please, Sign In to add comment