diff --git a/weechat/Dockerfile b/weechat/Dockerfile index 326fb83..2ccfae5 100644 --- a/weechat/Dockerfile +++ b/weechat/Dockerfile @@ -1,19 +1,14 @@ -FROM ubuntu:16.04 -MAINTAINER Justin Garrison +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" ]