Skip to content

Instantly share code, notes, and snippets.

@tsaarni
Last active April 26, 2016 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsaarni/0c6f5f31f874d39e0860c48fd4b575e8 to your computer and use it in GitHub Desktop.
Save tsaarni/0c6f5f31f874d39e0860c48fd4b575e8 to your computer and use it in GitHub Desktop.
Run profanity inside docker

Profanity inside Docker container

Building the container image

Clone this repository:

git clone https://gist.github.com/0c6f5f31f874d39e0860c48fd4b575e8.git docker-profanity
cd docker-profanity

and then run following command to build the image:

docker build --tag profanity .

Run the container

Start the container by running:

docker run -it profanity

To connect server execute:

/connect USERNAME@SERVER

You'll find detailed instructions on Profanity web site at http://profanity.im/

FROM alpine:3.3
RUN apk add --update --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ profanity profanity-themes profanity-doc \
&& apk add tzdata \
&& cp /usr/share/zoneinfo/Europe/Helsinki /etc/localtime \
&& apk del tzdata \
&& rm -rf /var/cache/apk/* \
&& adduser -D profanity
USER profanity
VOLUME /home/profanity
ENTRYPOINT ["profanity"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment