dockerfiles/weechat/Dockerfile
Jessica Frazelle 198f1bcd98 update clean
Signed-off-by: Jessica Frazelle <princess@docker.com>
2015-06-05 11:55:25 -07:00

21 lines
386 B
Docker

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"]