This repository contains various LTTng Dockerfiles.
Files under the dev/
directory provide a base development environment
to work the LTTng project and run its test suite.
A Dockerfile
based upon the ubuntu:latest
image is available
under dev/ubuntu/latest
.
To build this image, run
cd dev/ubuntu/latest
docker build --build-arg lttng_branch=master \
--build-arg urcu_branch=stable-0.10 \
--build-arg bt_branch=master \
--tag lttng-ubuntu-master .
This Dockerfile accepts build-arg
s allowing you to
specify the upstream branches to use for the build:
lttng_branch
(lttng-tools
andlttng-ust
branches to use, default tomaster
)bt_branch
(babeltrace
branch to use, defaults tomaster
)urcu_branch
(liburcu
branch to use, defaults tostable-0.10
)
Source the activate
script under /home/dev/lttng/
to setup the virtual environment.
- Jérémie Galarneau - jgalar