Skip to content

Commit

Permalink
Use ubuntu 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Manville committed Feb 28, 2018
1 parent 440d163 commit 0dd6e08
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
# Use phusion/baseimage as base image. To make your builds reproducible, make
# sure you lock down to a specific version, not to `latest`!
# See https://github.com/phusion/baseimage-docker/blob/master/Changelog.md for
# a list of version numbers.
FROM phusion/baseimage
FROM ubuntu:16.04

RUN rm -f /etc/service/sshd/down
RUN /etc/my_init.d/00_regen_ssh_host_keys.sh

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]
WORKDIR /root

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y vim git exuberant-ctags cscope bash-completion cmake g++ python-dev python-pip silversearcher-ag
apt-get install -y vim git wget exuberant-ctags cscope bash-completion cmake g++ python-dev python-pip silversearcher-ag

# Install dotfiles
## Clone from github
RUN cd ~/ && \
git clone https://github.com/tdmanv/dotfiles.git && \
RUN git clone https://github.com/tdmanv/dotfiles.git && \
cd dotfiles && \
curl -O https://foosoft.net/projects/homemaker/dl/homemaker_linux_amd64.tar.gz && \
wget https://foosoft.net/projects/homemaker/dl/homemaker_linux_amd64.tar.gz && \
tar xvf homemaker_linux_amd64.tar.gz && \
./homemaker_linux_amd64/homemaker --clobber --verbose config.toml .

Expand Down

0 comments on commit 0dd6e08

Please sign in to comment.