Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-01-06 17:00:15 -08:00
parent 245e7d426e
commit f26c645faa
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -1,19 +1,14 @@
FROM ubuntu:16.04
MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
FROM alpine:latest
RUN apt-get update && apt-get install -y \
weechat \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache \
weechat
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
RUN adduser -S user \
&& chown -R user $HOME
WORKDIR $HOME
USER user
ENTRYPOINT ["weechat"]
ENTRYPOINT [ "weechat" ]