Created
September 30, 2015 19:57
-
-
Save colstrom/8519b8da05376fdb1fbc to your computer and use it in GitHub Desktop.
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
| FROM colstrom/ubuntu-core | |
| RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x27557f056dc33ca5 \ | |
| && echo 'deb http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main' >> /etc/apt/sources.list \ | |
| && echo 'deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main' >> /etc/apt/sources.list \ | |
| && apt-get update \ | |
| && apt-get -y dist-upgrade \ | |
| && apt-get -y install fish git-core curl software-properties-common \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
| RUN adduser colstrom \ | |
| --disabled-password \ | |
| --gecos "Chris Olstrom" \ | |
| --home /Users/colstrom \ | |
| --ingroup staff \ | |
| --shell /usr/bin/fish \ | |
| && adduser colstrom sudo | |
| RUN echo 'Defaults !authenticate' > /etc/sudoers.d/no-authenticate | |
| USER colstrom | |
| RUN mkdir --parents ~/.config/fish \ | |
| && echo 'set -e fish_greeting' > ~/.config/fish/config.fish \ | |
| && rm ~/.profile \ | |
| && rm ~/.bash* | |
| WORKDIR /Users/colstrom | |
| CMD /usr/bin/fish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment