dockerfiles/weechat/Dockerfile
Jess Frazelle 102da0ff33
update base images
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-19 11:31:11 -07:00

20 lines
386 B
Docker

FROM ubuntu:16.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"]