diff --git a/.docker/Dockerfile b/.docker/Dockerfile index c71bef2..48af9e6 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -104,8 +104,8 @@ ENV GAZEBO_VERSION=harmonic RUN sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \ - && apt-get -q update \ - && apt-get -q -y upgrade \ + && sudo apt-get -q update \ + && sudo apt-get -q -y upgrade \ && sudo apt-get install -y \ gz-$GAZEBO_VERSION \ ros-$ROS_DISTRO-ros-gz$GAZEBO_VERSION \