Procházet zdrojové kódy

Initial preparation for Ubuntu 22.04

Official support will be available when the nvidia/cudagl image is available.
Seungmin Kim před 3 roky
rodič
revize
7288117b2f
1 změnil soubory, kde provedl 3 přidání a 8 odebrání
  1. 3 8
      Dockerfile

+ 3 - 8
Dockerfile

@@ -67,8 +67,6 @@ RUN dpkg --add-architecture i386 && \
         git \
         jq \
         make \
-        python \
-        python-numpy \
         python3 \
         python3-cups \
         python3-numpy \
@@ -97,7 +95,6 @@ RUN dpkg --add-architecture i386 && \
         gucharmap \
         mpd \
         onboard \
-        orage \
         parole \
         policykit-desktop-privileges \
         libpulse0 \
@@ -260,9 +257,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
         autotools-dev \
         chrpath \
         debhelper \
+        git \
         jq \
-        python \
-        python-numpy \
         python3 \
         python3-numpy \
         libc6-dev \
@@ -279,9 +275,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
         libxtst-dev \
         libavahi-client-dev && \
     rm -rf /var/lib/apt/lists/* && \
-    X11VNC_VERSION=$(curl -fsSL "https://api.github.com/repos/LibVNC/x11vnc/releases/latest" | jq -r '.tag_name' | sed 's/[^0-9\.\-]*//g') && \
-    curl -fsSL https://github.com/LibVNC/x11vnc/archive/${X11VNC_VERSION}.tar.gz | tar -xzf - -C /tmp && \
-    cd /tmp/x11vnc-${X11VNC_VERSION} && autoreconf -fi && ./configure && make install && cd / && rm -rf /tmp/* && \
+    git clone "https://github.com/LibVNC/x11vnc.git" /tmp/x11vnc && \
+    cd /tmp/x11vnc && autoreconf -fi && ./configure && make install && cd / && rm -rf /tmp/* && \
     NOVNC_VERSION=$(curl -fsSL "https://api.github.com/repos/noVNC/noVNC/releases/latest" | jq -r '.tag_name' | sed 's/[^0-9\.\-]*//g') && \
     curl -fsSL https://github.com/novnc/noVNC/archive/v${NOVNC_VERSION}.tar.gz | tar -xzf - -C /opt && \
     mv /opt/noVNC-${NOVNC_VERSION} /opt/noVNC && \