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 <[email protected]>
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
Content type
Image
Digest
sha256:db55c05be…
Size
259.5 MB
Last updated
over 11 years ago
docker pull therod/ruby-slack-api