Skip to content

Commit dd941b8

Browse files
author
Lukas Matt
committed
Add Dockerfile
1 parent 956865a commit dd941b8

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM debian:jessie
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
RUN apt-get update
6+
RUN apt-get install -y curl
7+
RUN apt-get clean && apt-get autoclean
8+
9+
RUN useradd -ms /bin/bash user
10+
11+
USER user
12+
13+
WORKDIR /home/user
14+
RUN curl -o /home/user/github-integration -L https://github.com/thefederationinfo/github-integration/releases/download/v1.0.1/github-integration.$(uname -m)
15+
16+
RUN chmod +x /home/user/github-integration
17+
18+
EXPOSE 8181
19+
20+
CMD ["sh", "-c", "/home/user/github-integration --github-id ${GITHUB_ID} --github-secret ${GITHUB_SECRET} --server-domain ${DOMAIN} --travis-token ${TRAVIS_SECRET}"]

0 commit comments

Comments
 (0)