Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4792853
D2834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2834.diff
View Options
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,26 @@
+#
+# Tommy Docker image
+# A simple Hudson/Jenkins dashboard view
+#
+
+FROM ruby:2.5
+MAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>
+
+#
+# Prepare the container
+#
+
+ENV LANG C.UTF-8
+
+RUN mkdir -p /usr/src/app && \
+ git clone https://github.com/nasqueron/tommy.git /usr/src/app && \
+ cd /usr/src/app && \
+ bundle install
+
+#
+# Run the container
+#
+
+EXPOSE 4567
+WORKDIR /usr/src/app
+CMD ["ruby", "/usr/src/app/tommy.rb", "-o", "0.0.0.0"]
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -10,9 +10,10 @@
### Getting started
-Put your Jenkins URL in place (JENKINS_URL) and boot the app.
-If you are password protecting your Hudson dashboard then encode like this:
-https://username:password@instance.domain.tld
+The JENKINS_URL variable environment should point to your Jenkins instance.
+
+If a login is required to use the API,
+use https://login:password@jenkins.domain.tld as syntax.
### Run with Docker
@@ -22,7 +23,7 @@
docker pull nasqueron/tommy
docker run -dt -p 8080:4567 -e JENKINS_URL=https://ci.domain.tld nasqueron/tommy
```
-
+
### Exit codes
The app uses the following exit codes:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 21:33 (2 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2443555
Default Alt Text
D2834.diff (1 KB)
Attached To
Mode
D2834: Merge docker-tommy repository main branch
Attached
Detach File
Event Timeline
Log In to Comment