Skip to content

Commit

Permalink
fix: replace libgl1-mesa-glx with libgl1 and libglx-mesa0
Browse files Browse the repository at this point in the history
libgl1-mesa-glx has been a transitional package for a while and is now obsolete from Ubuntu 23.10 and onwards.
Installing libgl1 and libglx-mesa0 instead of libgl1-mesa-glx will result in equivalent behaviour and should work on Ubuntu 18.04 and newer.
  • Loading branch information
rubensa committed Jul 12, 2024
1 parent 5b69e3e commit b3e9e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ RUN echo "# Installing Google Noto font family..." \
&& apt-get -y install fonts-noto 2>&1

# Install software and libraries needed to share X11 between host and container
RUN echo "# Installing kmod, libglib2.0-bin, libgl1-mesa-glx, libgl1-mesa-dri, pulseaudio-utils, cups-client, x11-utils, mesa-utils, mesa-utils-extra and va-driver-all..." \
&& apt-get -y install --no-install-recommends kmod libglib2.0-bin libgl1-mesa-glx libgl1-mesa-dri pulseaudio-utils cups-client x11-utils mesa-utils mesa-utils-extra va-driver-all 2>&1
RUN echo "# Installing kmod, libglib2.0-bin, libgl1, libglx-mesa0, libgl1-mesa-dri, pulseaudio-utils, cups-client, x11-utils, mesa-utils, mesa-utils-extra and va-driver-all..." \
&& apt-get -y install --no-install-recommends kmod libglib2.0-bin libgl1 libglx-mesa0 libgl1-mesa-dri pulseaudio-utils cups-client x11-utils mesa-utils mesa-utils-extra va-driver-all 2>&1

# Configure user (add to audio and video groups)
RUN echo "# Configuring '${USER_NAME}' for X11 functionallity..." \
Expand Down

0 comments on commit b3e9e88

Please sign in to comment.