Skip to content

Commit

Permalink
Add re-trying apt-get update until success (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeiKeiLim authored Apr 23, 2024
1 parent 38a08f5 commit fa9bce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ENV TERM xterm-256color
ENV NVIDIA_VISIBLE_DEVICES ${NVIDIA_VISIBLE_DEVICES:-all}
ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics

RUN until apt-get update --fix-missing; do echo "Retrying"; done
RUN apt-get update \
&& apt-get -y --quiet --no-install-recommends install \
ros-noetic-desktop \
Expand Down

0 comments on commit fa9bce6

Please sign in to comment.