Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added docker image to parseq-tracevis-server
  • Loading branch information
jodzga committed Aug 28, 2017
1 parent 267747b commit 09180fc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
21 changes: 21 additions & 0 deletions contrib/parseq-tracevis-server/Dockerfile
@@ -0,0 +1,21 @@
FROM ubuntu

MAINTAINER Jaroslaw Odzga "jodzga@linkedin.com"

# Update aptitude with new repo
# Install other software
RUN apt-get -y update && apt-get install -y \
graphviz \
default-jdk \
wget

RUN mkdir /opt/parseq-tracevis-server
RUN wget -O /opt/parseq-tracevis-server/parseq-tracevis-server-2.6.21-jar-with-dependencies.jar 'https://search.maven.org/remotecontent?filepath=com/linkedin/parseq/parseq-tracevis-server/2.6.21/parseq-tracevis-server-2.6.21-jar-with-dependencies.jar'

# Expose port 8080 to the host
EXPOSE 8080

# Set the current work directory
WORKDIR /opt/parseq-tracevis-server

ENTRYPOINT ["java", "-Xmx2g", "-Xms2g", "-jar", "/opt/parseq-tracevis-server/parseq-tracevis-server-2.6.21-jar-with-dependencies.jar", "/usr/bin/dot", "8080"]
5 changes: 5 additions & 0 deletions contrib/parseq-tracevis-server/README.md
Expand Up @@ -29,6 +29,11 @@ Run server passing path to `dot` as an argument e.g. `java -jar parseq-tracevis-
You can optionally specify port number, by default it will run on port 8080.


Docker
======================================

To start tracevis server using docker: `docker run -d -p 8080:8080 jodzga/parseq-tracevis-server:latest`. The server is accessible at [http://localhost:8080](http://localhost:8080).

More Info
=========

Expand Down

0 comments on commit 09180fc

Please sign in to comment.