Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Matt committed Feb 26, 2018
1 parent 956865a commit dd941b8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM debian:jessie

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update
RUN apt-get install -y curl
RUN apt-get clean && apt-get autoclean

RUN useradd -ms /bin/bash user

USER user

WORKDIR /home/user
RUN curl -o /home/user/github-integration -L https://github.com/thefederationinfo/github-integration/releases/download/v1.0.1/github-integration.$(uname -m)

RUN chmod +x /home/user/github-integration

EXPOSE 8181

CMD ["sh", "-c", "/home/user/github-integration --github-id ${GITHUB_ID} --github-secret ${GITHUB_SECRET} --server-domain ${DOMAIN} --travis-token ${TRAVIS_SECRET}"]

0 comments on commit dd941b8

Please sign in to comment.