Skip to content

Commit

Permalink
fix: add chown in dockerfile from the agent in the command
Browse files Browse the repository at this point in the history
  • Loading branch information
ll7 committed Aug 22, 2024
1 parent fe2c4ee commit fff5c69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/docker/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,11 @@ WORKDIR /workspace/code
RUN echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc

ENTRYPOINT ["/entrypoint.sh"]
CMD ["bash", "-c", "sleep 10 && python3 /opt/leaderboard/leaderboard/leaderboard_evaluator.py --debug=${DEBUG_CHALLENGE} \
CMD ["bash", "-c", "sleep 10 && \
sudo chown -R carla:carla ../code/ && \
sudo chmod -R a+w ../code/ && \
python3 /opt/leaderboard/leaderboard/leaderboard_evaluator.py \
--debug=${DEBUG_CHALLENGE} \
--repetitions=${REPETITIONS} \
--checkpoint=${CHECKPOINT_ENDPOINT} \
--track=${CHALLENGE_TRACK} \
Expand Down

0 comments on commit fff5c69

Please sign in to comment.