added weechat dockerfile

This commit is contained in:
Justin Garrison 2015-03-09 23:00:24 -07:00
parent 038990f7c3
commit b3a975a7a3

19
weechat/Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM ubuntu:14.10
MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
RUN apt-get update && apt-get install -y \
weechat \
&& rm -rf /var/lib/apt/lists/*
ENV LANG C.UTF-8
ENV HOME /home/user
RUN useradd --create-home --home-dir $HOME user \
&& mkdir -p $HOME/.weechat \
&& chown -R user:user $HOME
WORKDIR $HOME
VOLUME ["$HOME/.weechat"]
USER user
ENTRYPOINT ["weechat"]