-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (16 loc) · 745 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (16 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM phusion/baseimage:0.9.18
MAINTAINER Bo-Yi Wu <appleboy.tw@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
WORKDIR /root
RUN apt-get update && apt-get install -y git rsync curl wget
# install tmux
RUN apt-get -y install libevent-dev libncurses-dev make
RUN wget https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz -O tmux-2.2.tar.gz
RUN tar xvzf tmux-2.2.tar.gz && cd tmux-2.2 && ./configure && make && make install -m prefix=/usr
RUN locale-gen en_US en_US.UTF-8 && dpkg-reconfigure locales
RUN git clone https://github.com/appleboy/dotfiles.git
RUN chmod 755 dotfiles/bootstrap.sh
RUN ./dotfiles/bootstrap.sh -f
# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD /bin/bash