dockerfiles/weechat/Dockerfile
Jessica Frazelle c7ed3a7c7b
update weechat
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-10-08 15:39:05 -07:00

20 lines
386 B
Docker

FROM ubuntu:14.04
MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
RUN apt-get update && apt-get install -y \
weechat \
--no-install-recommends \
&& 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
USER user
ENTRYPOINT ["weechat"]