-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from spreaker/enable-python-faulthandler-on-pro…
…metheus-jenkins-exporter Enable python faulthandler and introduce a Docker-base dev environment
- Loading branch information
Showing
5 changed files
with
35 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist | ||
MANIFEST | ||
prometheus_jenkins_exporter.egg-info | ||
__pycache__/ |
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,11 @@ | ||
FROM alpine:3.8 | ||
|
||
# Installing required packages | ||
RUN apk add --update --no-cache \ | ||
python3 | ||
|
||
# Install dependencies | ||
COPY requirements.txt /workspace/prometheus-jenkins-exporter/requirements.txt | ||
RUN cd /workspace/prometheus-jenkins-exporter && pip3 install -r requirements.txt | ||
|
||
WORKDIR /workspace/prometheus-jenkins-exporter |
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
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,12 @@ | ||
version: "3" | ||
|
||
services: | ||
dev: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
command: [ "sh" ] | ||
ports: | ||
- 8000:8000 | ||
volumes: | ||
- /workspace/prometheus-jenkins-exporter:/workspace/prometheus-jenkins-exporter:delegated |
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