Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker image with curb and slack-api installed. Based of the official ruby docker image.

# Dockerfile
# Install curb and slack-api gem and then run a script from
# a provided URL. Easy way to run a bot and maintain it
# via GitHub Gists or something similiar.
FROM ruby
MAINTAINER Rodrigo Haenggi <rodrigo@codegestalt.com>

RUN gem install curb
RUN gem install slack-api
#Example .service file
[Service]
....
ExecStart=/usr/bin/docker run -e SLACK_TOKEN="xxx" -e therod/ruby-slack-api /bin/bash -c 'ruby < <(curl -s LINK_TO_EXECUTABLE_RUBY_FILE)'

Example script file can be found here

Docker Pull Command
Owner
therod