Skip to content

Changes

Summary

  1. Add multi stage Dockerfile to build Trace Compass Server (details)
Commit b053fb3c588bd1dcb4ab82eb1829c5c4bbffa1a1 by Marco Miller
Add multi stage Dockerfile to build Trace Compass Server

1. The stage "packager" use the image of tracecompass
2. The stage "packager" installs the minimum package needed to compile
tracecompass.incubator
3. Then it will copy the project inside the container
4. Then it will run the command to build tracecompass.incubator
5. After the build, it will go to the next stage, and it will
install the bare minimum configuration to run the tracecompass-server.
6. Then it copies the tracecompass-server already compiled from
the previous stage into the current stage
7. Then it will run the trace-server on port 8080

[Added] Multi stage Dockerfile to build Trace Compass Server

This change therefore depends on the mainline, core TC change [1] below.

[1]https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/199945

Change-Id: I969847adab55d885d4250e947d36cb0e34953802
Signed-off-by: Ahmad Faour <ahmad.faour@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/199977
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Marco Miller <marco.miller@ericsson.com>
The file was addedDockerfile
The file was modified README.md (diff)
The file was added.dockerignore
The file was modified .gitignore (diff)