Skip to content

Instantly share code, notes, and snippets.

@tatsuru
Created April 16, 2014 07:18
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 tatsuru/10822808 to your computer and use it in GitHub Desktop.
Save tatsuru/10822808 to your computer and use it in GitHub Desktop.
ikachan dockerfile
# Ikachan Dockerfile
FROM tatsuru/debian
RUN apt-get update
RUN apt-get install -y build-essential curl libssl-dev
RUN curl -s https://raw.githubusercontent.com/tagomoris/xbuild/master/perl-install > /tmp/perl-install
RUN bash /tmp/perl-install 5.18.2 /opt/perl-5.18
ENV PATH /opt/perl-5.18/bin:$PATH
RUN cpanm App::Ikachan
# Expose ports.
EXPOSE 4979
# Define default command.
ENTRYPOINT ikachan -o 0.0.0.0 -S chat.freenode.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment