Skip to content

Instantly share code, notes, and snippets.

@Timtech4u
Created December 9, 2022 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Timtech4u/709d153edd441bdcea3d7dc1937cbc06 to your computer and use it in GitHub Desktop.
Save Timtech4u/709d153edd441bdcea3d7dc1937cbc06 to your computer and use it in GitHub Desktop.
FROM node:8.9.4-alpine
RUN apk add --no-cache git
RUN npm install -g yo generator-hubot
RUN adduser -D hubot
USER hubot
WORKDIR /home/hubot
RUN yo hubot --owner="Tim <timothy@fireflies.ai>" --name="hubot" --description="Hubot for slack" --adapter="slack" --defaults
RUN npm install --save hubot-slack
RUN npm install --save hubot-google-images
RUN npm install --save hubot-google-translate
CMD ["bin/hubot", "--adapter", "slack"]
@m3rryqold
Copy link

m3rryqold commented Dec 9, 2022

FROM node:lts-alpine
RUN apk add --no-cache git
RUN npm install -g yo generator-hubot
RUN adduser -D hubot
USER hubot
WORKDIR /home/hubot
RUN yo hubot --owner="Merrygold timothy@fireflies.ai" --name="hubot" --description="Hubot for slack" --adapter="slack" --defaults
RUN npm install --save hubot-slack
RUN npm install --save hubot-google-images
RUN npm install --save hubot-google-translate
RUN npm install --save hubot-grafana
RUN npm install --save hubot-pager-me

CMD ["bin/hubot", "--adapter", "slack"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment