Created
May 11, 2017 07:17
-
-
Save punitsoni/422222a0dda22ab29b8d325113ea080e to your computer and use it in GitHub Desktop.
punits-ubuntu-dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# image for ubuntu desktop interactive | |
# | |
FROM ubuntu:16.04 | |
MAINTAINER "Punit Soni <[email protected]>" | |
# install basic packages | |
RUN apt-get update && \ | |
apt-get install -y sudo vim git tmux | |
# set locale | |
ENV LANG C.UTF-8 | |
# add user | |
RUN useradd --create-home --shell /bin/bash punits && \ | |
echo "punits:default_password_change_me" | chpasswd && \ | |
adduser punits sudo | |
USER punits | |
WORKDIR /home/punits | |
# setup dotfiles | |
RUN git clone https://github.com/punitsoni/dotfiles.git ~/.dotfiles && \ | |
~/.dotfiles/setup.sh -f | |
# git config | |
RUN git config --global user.name "Punit Soni" && \ | |
git config --global user.email "[email protected]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment