-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lukas Matt
committed
Feb 26, 2018
1 parent
956865a
commit dd941b8
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}"] |