-
Notifications
You must be signed in to change notification settings - Fork 11
Build Instructions
SandakovMM edited this page Jun 6, 2023
·
1 revision
The simplest way to build the tool from the source code is by using a Docker container with preinstalled Buck. You can find the related Dockerfile in the build directory. Before building the tool, ensure that Docker is installed on your system.
First, build the Docker container that will be used for building the tool using the following command:
docker build -t centos2alma-build build/.
Now you have a Docker container with preinstalled Buck. To build the tool, run the container with the source code directory mounted and initiate the build process with the following command:
docker run -v ./:/target centos2alma-build build :centos2alma
The build result will be stored in ./buck-out/gen/centos2alma.
You can also use this container to run unit tests by executing the following command:
docker run -v ./:/target centos2alma-build test :libs.tests