Contributing
Dockerfile
Dockerfile.dev
streamlines the setup process for contributors, offering a consistent Dockerized development environment.
Steps
-
Build the Docker image
Navigate to the root directory and execute
bashCopydocker build -t lantern-dev -f docker/Dockerfile.dev .
-
Run the Docker container
bashCopydocker run --name lantern-container -d lantern-dev
-
Access the development environment
bashCopydocker exec -it lantern-container /bin/bash
Inside the container, the lantern
source is ready in /lantern
and benchmarking tools are set up in the benchmark
directory.