Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added autoref to the docker #2352

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ ENV DISPLAY=:1
ARG TARGETARCH
ENV TARGETARCH=${TARGETARCH}

# Warn and exit if build arguments are not given
RUN if [ -z TARGETARCH] then \
echo "****************************** ERROR ******************************"; \
echo "No target architecture was given. TARGETARCH is a required argument."; \
exit 1; \
fi

# Update the package list and install necessary packages, including the missing ones
RUN apt-get update && \
apt-get install -y \
Expand Down Expand Up @@ -68,6 +75,14 @@ RUN git clone https://github.com/robotics-erlangen/framework.git /root/framework
cmake .. && \
make simulator-cli

# Clone, build ER-Force's autoref
RUN git clone https://github.com/robotics-erlangen/autoref.git /root/autoref && \
cd /root/autoref && \
git submodule update --init && \
mkdir build && cd build && \
cmake .. && \
make

# Use bash to source the ROS2 setup file and run make perf
RUN bash -c "source /opt/ros/humble/setup.bash && \
cd /root/robocup-software && \
Expand Down
Loading