Skip to content

Commit

Permalink
Added autoref to the docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jvogt23 committed Feb 24, 2025
1 parent 0729903 commit 0c3ca4a
Showing 1 changed file with 15 additions and 0 deletions.
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

0 comments on commit 0c3ca4a

Please sign in to comment.