To run the program, follow the steps below:
-
Run the progam:
./cldif file1.ldif file2.ldif output.ldif
To run the Docker image and execute the C++ program inside a container, follow the steps below:
-
Build the Docker image:
docker build -t cldif .
Step 2 - Run the Docker container:
-
Run the Docker container:
docker run --rm -it -v $(pwd):/app/data cldif ./data/ldif1.ldif ./data/ldif2.ldif ./data/output.ldif
Step 3 - View the program output:
- View the program output:
The program will run inside the Docker container, and the output will be displayed in the terminal or command prompt where you executed the `docker run` command. It will show whether the files are identical or different based on the comparison.
Notes:
Artifacts compiled with GLIBC_2.34