Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ubuntu/Dockerfile
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
32 lines (26 sloc)
667 Bytes
This file contains 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
| # | |
| # Ubuntu Dockerfile | |
| # | |
| # https://github.com/dockerfile/ubuntu | |
| # | |
| # Pull base image. | |
| FROM ubuntu:14.04 | |
| # Install. | |
| RUN \ | |
| sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ | |
| apt-get update && \ | |
| apt-get -y upgrade && \ | |
| apt-get install -y build-essential && \ | |
| apt-get install -y software-properties-common && \ | |
| apt-get install -y byobu curl git htop man unzip vim wget && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Add files. | |
| ADD root/.bashrc /root/.bashrc | |
| ADD root/.gitconfig /root/.gitconfig | |
| ADD root/.scripts /root/.scripts | |
| # Set environment variables. | |
| ENV HOME /root | |
| # Define working directory. | |
| WORKDIR /root | |
| # Define default command. | |
| CMD ["bash"] |