Skip to content

Commit

Permalink
Fix missing python dependency and add some conveniences to weechat (j…
Browse files Browse the repository at this point in the history
…essfraz#498)

* Switch user from a system user to a regular user

* Add a run string

* Add python dependency for weechat-python.
  • Loading branch information
Nate Catelli authored and jessfraz committed Sep 16, 2019
1 parent 94c7c11 commit df376e1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions weechat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
# Run weechat in a container
#
# docker run -it \
# -v $HOME/.weechat/home/user/.weechat \
# --name weechat \
# jess/weechat
#

FROM alpine:latest

RUN apk add --no-cache \
weechat \
weechat-perl \
weechat-python
weechat-python \
python

ARG RUNTIME_UID
ENV RUNTIME_UID ${UID:-1000}
ENV HOME /home/user

RUN adduser -S user \
RUN adduser -D user -u ${RUNTIME_UID} \
&& chown -R user $HOME

WORKDIR $HOME
Expand Down

0 comments on commit df376e1

Please sign in to comment.