{"id":16367946,"url":"https://github.com/treetips/dockerfile-centos-hubot-slack","last_synced_at":"2026-04-29T14:40:12.429Z","repository":{"id":150606677,"uuid":"51700552","full_name":"treetips/dockerfile-centos-hubot-slack","owner":"treetips","description":"This dockerfile is intended to make it easy to develop hubot scripts for slack.","archived":false,"fork":false,"pushed_at":"2016-02-16T17:02:32.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T06:40:52.783Z","etag":null,"topics":["docker","hubot","slack"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/treetips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-14T15:42:45.000Z","updated_at":"2017-05-02T15:36:39.000Z","dependencies_parsed_at":"2023-05-03T00:48:34.296Z","dependency_job_id":null,"html_url":"https://github.com/treetips/dockerfile-centos-hubot-slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fdockerfile-centos-hubot-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fdockerfile-centos-hubot-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fdockerfile-centos-hubot-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/treetips%2Fdockerfile-centos-hubot-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/treetips","download_url":"https://codeload.github.com/treetips/dockerfile-centos-hubot-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239868779,"owners_count":19710478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","hubot","slack"],"created_at":"2024-10-11T02:51:15.719Z","updated_at":"2026-02-26T09:30:17.325Z","avatar_url":"https://github.com/treetips.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Easy to develop hubot script Dockerfile\n====\n\n## Description\n\nAs for this image, **sudo**, **yum**, **vi**, **npm** are installed. become easy to develop a hubot-slack script on docker.\n\nBecause this image that was completely specialized in development, the use in the production environment does not consider it.\n\n## Requirement\n\n### Required docker\n\nInstallation of docker is necessary. I can easily make environment of docker when I install Docker Toolbox.\n\nhttps://www.docker.com/products/docker-toolbox\n\n### Required slack account\n\nCreate slack account.\n\nhttps://slack.com\n\n### Required slack integration\n\nAdd hubot integration.\n\nhttps://slack.com/apps\n\nBecause you use HUBOT_SLACK_TOKEN later, please copy a value of API Token in Integration Settings of the setting window of hubot.\n\n### Required invite hubot\n\nInvite hubot in rooms using the slash commands.\n\n```bash\n/invite hubot\n```\n\nAt this point still hubot is offline. And the hubot to online in the usage section.\n\n## How to build(optionally)\n\n```bash\n# download Dockerfile\ngit clone git@github.com:treetips/dockerfile-centos-hubot-slack.git\n\n# build Dockerfile\ndocker build -t treetips/dockerfile-centos-hubot-slack .\n```\n\n## Usage\n\n```bash\n# pull images\ndocker pull treetips/dockerfile-centos-hubot-slack:latest\n\n# run container with slac api token\ndocker run -dit --name hubot-slack -e HUBOT_SLACK_TOKEN=xoxb-XXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXX treetips/centos-hubot-slack:latest\n\n# ssh container\ndocker exec -it hubot-slack bash\n\n# start hubot with slack adapter\n./bin/hubot --adapter slack\n```\n\nBecause it starts in a **foreground**, hubot is stop in Ctrl + c to let you reflect the hubot script which you made and lets it starts again and reflect it. The reason why I start foreground is that I make it easy to restart hubot.\n\nBecause this Dockerfile add hubot user to /etc/sudoers, You can install a package by yum command optionally.\n\n```\nuser name = hubot\nuser sudo password = hubot\n```\n\n```bash\n# hubot user can run sudo command. hubot user password is hubot.\nsudo yum install xxxx\n```\n\n## Licence\n\n[MIT](https://github.com/tcnksm/tool/blob/master/LICENCE)\n\n## Author\n\n[treetips](https://github.com/treetips)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreetips%2Fdockerfile-centos-hubot-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreetips%2Fdockerfile-centos-hubot-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreetips%2Fdockerfile-centos-hubot-slack/lists"}