From 843f9390077a67bed019a738cb951e05ea545556 Mon Sep 17 00:00:00 2001 From: Michael Jeronimo Date: Fri, 19 May 2023 08:40:27 -0700 Subject: [PATCH] Update the OpenGL version to avoid an empty graphics screen. (space-ros/docker#50) Fixes space-ros/docker#44. Signed-off-by: Michael Jeronimo --- spaceros/Earthfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spaceros/Earthfile b/spaceros/Earthfile index c0be367a..442343d8 100644 --- a/spaceros/Earthfile +++ b/spaceros/Earthfile @@ -86,9 +86,11 @@ setup: echo "$USERNAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/$USERNAME && \ chmod 0440 /etc/sudoers.d/$USERNAME USER ${USERNAME} - WORKDIR $SPACEROS_DIR + # Update the OpenGL version + RUN sudo add-apt-repository ppa:kisak/kisak-mesa + RUN sudo apt update && sudo apt upgrade -y sources: FROM +setup @@ -129,7 +131,6 @@ build-testing: image: FROM +rosdep - ARG VCS_REF # Specify the docker image metadata