mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
22b7de93b6
Signed-off-by: Jessica Frazelle <princess@docker.com>
20 lines
386 B
Docker
20 lines
386 B
Docker
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/*
|
|
|
|
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"]
|