Skip to content

Slacker Docker Image #13

@kamermans

Description

@kamermans

Thanks for the nifty Slack client!

I suppose this is an enhancement, but if you have Docker installed, you can run Slacker like this without installing anything:

docker run -v $HOME/.slack_token:/root/.slack_token -ti kamermans/slacker

https://registry.hub.docker.com/u/kamermans/slacker/

It comes with the latest dev-master code and ncurses, etc, bundled.

It's a total waste of space if you don't have any other Ubuntu 14.04-based Docker images, but if you do it's a small download.

Now I can Slack from a CoreOS box :)

Here's the Dockerfile if you want it:

FROM ubuntu:14.04
LABEL \
        Description="Slacker"

RUN apt-get update && apt-get install -y \
        php5-cli \
        && apt-get clean

COPY ncurses.so /usr/lib/php5/20121212/ncurses.so
RUN echo "extension=ncurses.so" >> /etc/php5/cli/php.ini

COPY slacker.php /usr/bin/slacker
RUN chmod +x /usr/bin/slacker

CMD /usr/bin/slacker

I built ncurses in a Docker container and copied it out so I can include it without installing any of that junk in the actual image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions