dockerfiles/weechat/Dockerfile

22 lines
413 B
Docker
Raw Normal View History

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