Hello Team,
I've been working on enhancing the compilation process and its utilization within a Docker environment.
Prior to compiling, I need to install certain dependencies on my host computer. I initially assumed this would be handled automatically with Bazel, but for some reason, it's not occurring as expected. Do any of you have insights into why this might be happening?
Here's the installation process I've been following within the Docker container:
sudo apt update && sudo apt install -y python3-dev python3-pip libglib2.0-dev
# Install Bazel
sudo apt install apt-transport-https curl gnupg -y
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update && sudo apt install -y libjpeg-dev libtbb-dev libtiff5-dev libpng-dev libboost-all-dev
git clone https://github.com/RobotLocomotion/realsense2-lcm-driver.git
cd realsense2-lcm-driver
bazel build //...
One consideration is to create a bash script that handles the entire installation process, but I'm uncertain if this aligns well with Bazel's best practices.
Thank you in advance for your assistance.
Hello Team,
I've been working on enhancing the compilation process and its utilization within a Docker environment.
Prior to compiling, I need to install certain dependencies on my host computer. I initially assumed this would be handled automatically with Bazel, but for some reason, it's not occurring as expected. Do any of you have insights into why this might be happening?
Here's the installation process I've been following within the Docker container:
One consideration is to create a bash script that handles the entire installation process, but I'm uncertain if this aligns well with Bazel's best practices.
Thank you in advance for your assistance.