FROM ubuntu:latest
ENV DEBIAN_FRONTEND noninteractive
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-get install -y apt-transport-https
RUN apt-get install -y astyle
RUN apt-get install -y cmatrix curl
RUN apt-get install -y dkms
RUN apt-get install -y fzf
RUN apt-get install -y git gcc gdb
RUN apt-get install -y locales language-pack-en language-pack-pt
RUN apt-get install -y make man mercurial
RUN apt-get install -y nano
RUN apt-get install -y openjdk-11-jdk-headless openssh-server
RUN apt-get install -y python3 python3-dev python3-pip
RUN apt-get install -y sudo
RUN apt-get install -y tree
RUN apt-get install -y ufw
RUN apt-get install -y wget
RUN apt-get install -y xsel
RUN apt-get install -y vim vim-gui-common vim-runtime
RUN locale-gen
RUN sudo pip3 install -U setuptools requests virtualenv
RUN useradd --system --create-home --user-group --uid 1000 --shell /bin/bash tgomes95
RUN echo 'tgomes95:passwd' | chpasswd
RUN adduser tgomes95 sudo
RUN git clone https://[email protected]/tgomes95/dotfiles.git /tmp/dotfiles
RUN git clone https://[email protected]/tgomes95/ubuntu.git /tmp/ubuntu
RUN cat /tmp/ubuntu/dotfiles/bashrc >> /home/tgomes95/.bashrc
RUN mv /tmp/ubuntu/dotfiles/bash_aliases /home/tgomes95/.bash_aliases
RUN mv /tmp/ubuntu/dotfiles/bash_functions /home/tgomes95/.bash_functions
RUN mv /tmp/ubuntu/dotfiles/fzf /home/tgomes95/.fzf
RUN mv /tmp/dotfiles/astylerc /home/tgomes95/.astylerc
RUN mv /tmp/dotfiles/gitconfig /home/tgomes95/.gitconfig
RUN mv /tmp/dotfiles/hgrc /home/tgomes95/.hgrc
RUN git clone https://[email protected]/tgomes95/scripts.git /home/tgomes95/.bin
RUN rm -rf /home/tgomes95/.bin/.git* /home/tgomes95/.bin/install
RUN apt-get upgrade -y
RUN apt-get autoclean
RUN apt-get autoremove -y
RUN rm -rf /tmp/ubuntu
USER tgomes95
WORKDIR /home/tgomes95
Content type
Image
Digest
Size
615.7 MB
Last updated
over 5 years ago
docker pull tgomes95/ubuntu