Skip to content

ballr73/compare-ldif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Running the program

To run the program, follow the steps below:

  1. Run the progam:

    ./cldif file1.ldif file2.ldif output.ldif
    

Running the Docker Image

To run the Docker image and execute the C++ program inside a container, follow the steps below:

  1. Build the Docker image:

    docker build -t cldif .
    

Step 2 - Run the Docker container:

  1. 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:

  1. 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