We provide standard Dockerfiles to build jrt-controller images for standard operating systems.
The Dockerfiles in this directory can be split into two categories:
- builder images for different operating systems:
- Containerized application
- jrtc-ctl is built from one of the OS images in step 1.
# To build for a particular OS, run:
OS=azurelinux # possible values: [ubuntu22_04, azurelinux, ubuntu24_04]
# Create builder image with all dependencies loaded
sudo -E docker build -t jrtc-$OS:latest -f deploy/$OS.Dockerfile .
# Build the jrt-controller
sudo -E docker run -v `pwd`:/jrtc_out_lib --rm jrtc-$OS:latest
With the commands above, you should find the compiled binaries at $(PWD)/out
directory.
And to create a jrtc-ctl image from that container, run:
sudo -E docker build --build-arg builder_image=jrtc-$OS --build-arg builder_image_tag=latest -t jrtcctl:latest - < deploy/jrtc-ctl.Dockerfile