Public | Automated Build

Last pushed: 7 months ago
Short Description
Test slack notification from a docker container
Full Description

Hello Slack

Docker container to test slack token

Building

# Generate Gemfile.lock
docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.1 bundle install

# build
docker build -t lucymhdavies/hello-slack:latest .

Running

docker run -it --rm \
    -e SLACK_API_TOKEN=<SLACK_TOKEN> \
    lucymhdavies/hello-slack:latest

or, if you have a valid .env file (see .env.example), then you can run: ./run.sh

Docker Pull Command
Owner
lucymhdavies
Source Repository

Comments (0)