Open zhufq00 opened 1 year ago
Can you edit the description, so that the output is formatted instead of plaintext? That way it will be easier for other people to read. It seems to be some links are outdated. I managed to make it build by replacing install VirtualGL step with the following
# Install VirtualGL and make libraries available for preload
ARG VIRTUALGL_VERSION=3.1
ARG VIRTUALGL_URL="https://sourceforge.net/projects/virtualgl/files"
RUN curl -fsSL -O "${VIRTUALGL_URL}/virtualgl_${VIRTUALGL_VERSION}_amd64.deb" && \
curl -fsSL -O "${VIRTUALGL_URL}/virtualgl32_${VIRTUALGL_VERSION}_amd64.deb" && \
apt-get update && apt-get install -y --no-install-recommends ./virtualgl_${VIRTUALGL_VERSION}_amd64.deb ./virtualgl32_${VIRTUALGL_VERSION}_amd64.deb && \
rm -f "virtualgl_${VIRTUALGL_VERSION}_amd64.deb" "virtualgl32_${VIRTUALGL_VERSION}_amd64.deb" && \
rm -rf /var/lib/apt/lists/* && \
chmod u+s /usr/lib/libvglfaker.so && \
chmod u+s /usr/lib/libdlfaker.so && \
chmod u+s /usr/lib32/libvglfaker.so && \
chmod u+s /usr/lib32/libdlfaker.so && \
chmod u+s /usr/lib/i386-linux-gnu/libvglfaker.so && \
chmod u+s /usr/lib/i386-linux-gnu/libdlfaker.so
(minedojo) [root@soup-gpu05 egl-docker]# docker build . -t vpt Sending build context to Docker daemon 123.9kB Step 1/38 : ARG UBUNTU_RELEASE=20.04 Step 2/38 : ARG CUDA_VERSION=11.2.2 Step 3/38 : FROM nvcr.io/nvidia/cudagl:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_RELEASE} ---> a8282f388e51 Step 4/38 : LABEL maintainer "https://github.com/jeasinema" ---> Using cache ---> 8ce572c6249d Step 5/38 : ARG UBUNTU_RELEASE ---> Using cache ---> 7096a90c9694 Step 6/38 : ARG CUDA_VERSION ---> Using cache ---> 71333fe0e6f7 Step 7/38 : ARG NVIDIA_VISIBLE_DEVICES=all ---> Using cache ---> 0590225f8880 Step 8/38 : ARG DEBIAN_FRONTEND=noninteractive ---> Using cache ---> 4c203e7145f4 Step 9/38 : ENV NVIDIA_DRIVER_CAPABILITIES all ---> Using cache ---> 50da04975bf3 Step 10/38 : ENV PULSE_SERVER 127.0.0.1:4713 ---> Using cache ---> fc857563aa82 Step 11/38 : ENV TZ UTC ---> Using cache ---> 25a6df3a7e7c Step 12/38 : ENV REFRESH 60 ---> Using cache ---> a56a9c71c86a Step 13/38 : ENV PASSWD mypasswd ---> Using cache ---> 08f0df46d37a Step 14/38 : ENV NOVNC_ENABLE false ---> Using cache ---> 869da884af95 Step 15/38 : ENV WEBRTC_ENCODER nvh264enc ---> Using cache ---> 33f4a2b5e5bf Step 16/38 : ENV WEBRTC_ENABLE_RESIZE false ---> Using cache ---> 75cab966eac4 Step 17/38 : ENV ENABLE_AUDIO false ---> Using cache ---> cb4fac634fe5 Step 18/38 : ENV ENABLE_BASIC_AUTH true ---> Using cache ---> 4901177007f4 Step 19/38 : RUN apt-get clean && apt-key adv --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/$(cat /etc/os-release | grep '^ID=' | awk -F'=' '{print $2}')$(cat /etc/os-release | grep '^VERSION_ID=' | awk -F'=' '{print $2}' | sed 's/[^0-9]//g')/x86_64/3bf863cc.pub" && rm -rf /var/lib/apt/lists/ ---> Using cache ---> 1203a08420da Step 20/38 : RUN apt-get clean && apt-get update && apt-get install --no-install-recommends -y locales && rm -rf /var/lib/apt/lists/ && locale-gen en_US.UTF-8 ---> Using cache ---> ed03f5b45a83 Step 21/38 : ENV LANG en_US.UTF-8 ---> Using cache ---> e0c5d193ff68 Step 22/38 : ENV LANGUAGE en_US:en ---> Using cache ---> 8fc4fae59cf4 Step 23/38 : ENV LC_ALL en_US.UTF-8 ---> Using cache ---> a257861491d6 Step 24/38 : RUN dpkg --add-architecture i386 && apt-get update && apt-get install --no-install-recommends -y software-properties-common apt-transport-https apt-utils build-essential ca-certificates cups-filters cups-common cups-pdf curl file wget bzip2 gzip p7zip-full xz-utils zip unzip zstd gcc git jq make python python-numpy python3 python3-cups python3-numpy mlocate nano vim htop xarchiver brltty brltty-x11 desktop-file-utils gucharmap mpd onboard orage parole policykit-desktop-privileges libpulse0 pavucontrol ristretto supervisor thunar thunar-volman thunar-archive-plugin thunar-media-tags-plugin net-tools libgtk-3-bin vainfo vdpauinfo mesa-utils mesa-utils-extra dbus-x11 libdbus-c++-1-0v5 dmz-cursor-theme numlockx xcursor-themes xvfb xfburn && apt-get install -y libreoffice && curl -fsSL -o /tmp/vdpau-va-driver.deb "https://launchpad.net/~saiarcot895/+archive/ubuntu/chromium-dev/+files/vdpau-va-driver_0.7.4-6ubuntu2~ppa1~18.04.1_amd64.deb" && apt-get install --no-install-recommends -y /tmp/vdpau-va-driver.deb && rm -rf /tmp/ && rm -rf /var/lib/apt/lists/ ---> Using cache ---> cb7b4e14886d Step 25/38 : RUN if [ "${UBUNTU_RELEASE}" = "18.04" ]; then apt-get update && apt-get install --no-install-recommends -y libvulkan1 vulkan-utils; else apt-get update && apt-get install --no-install-recommends -y libvulkan1 vulkan-tools; fi && rm -rf /var/lib/apt/lists/ && VULKAN_API_VERSION=$(dpkg -s libvulkan1 | grep -oP 'Version: [0-9|.]+' | grep -oP '[0-9]+(.[0-9]+)(.[0-9]+)') && mkdir -p /etc/vulkan/icd.d/ && echo "{\n \"file_format_version\" : \"1.0.0\",\n \"ICD\": {\n \"library_path\": \"libGLX_nvidia.so.0\",\n \"api_version\" : \"${VULKAN_API_VERSION}\"\n }\n}" > /etc/vulkan/icd.d/nvidia_icd.json ---> Using cache ---> 12e8968cba7c Step 26/38 : ARG VIRTUALGL_VERSION_MIN=3.0.2 ---> Using cache ---> 6e0c55bd8ff2 Step 27/38 : RUN VIRTUALGL_VERSION=$(curl -fsSL "https://api.github.com/repos/VirtualGL/virtualgl/releases/67016359" | jq -r '.tag_name' | sed 's/[^0-9.-]//g') && if [ "$(echo "${VIRTUALGL_VERSION_MIN}" "${VIRTUALGL_VERSION}" | tr " " "\n" | sort -V | head -n 1)" = "${VIRTUALGL_VERSIONMIN}" ]; then curl -fsSL -O https://sourceforge.net/projects/virtualgl/files/virtualgl${VIRTUALGL_VERSION}amd64.deb && curl -fsSL -O https://sourceforge.net/projects/virtualgl/files/virtualgl32${VIRTUALGL_VERSION}_amd64.deb; else VIRTUALGL_VERSION=${VIRTUALGL_VERSIONMIN} && curl -fsSL -O https://s3.amazonaws.com/virtualgl-pr/main/linux/virtualgl${VIRTUALGL_VERSION}amd64.deb && curl -fsSL -O https://s3.amazonaws.com/virtualgl-pr/main/linux/virtualgl32${VIRTUALGL_VERSION}amd64.deb; fi && apt-get update && apt-get install -y --no-install-recommends ./virtualgl${VIRTUALGL_VERSION}amd64.deb ./virtualgl32${VIRTUALGL_VERSION}amd64.deb && rm virtualgl${VIRTUALGL_VERSION}amd64.deb virtualgl32${VIRTUALGL_VERSION}_amd64.deb && rm -rf /var/lib/apt/lists/ && chmod u+s /usr/lib/libvglfaker.so && chmod u+s /usr/lib/libdlfaker.so && chmod u+s /usr/lib32/libvglfaker.so && chmod u+s /usr/lib32/libdlfaker.so && chmod u+s /usr/lib/i386-linux-gnu/libvglfaker.so && chmod u+s /usr/lib/i386-linux-gnu/libdlfaker.so ---> Running in 9b76f2ff13df curl: (22) The requested URL returned error: 404 Not Found The command '/bin/sh -c VIRTUALGL_VERSION=$(curl -fsSL "https://api.github.com/repos/VirtualGL/virtualgl/releases/67016359" | jq -r '.tag_name' | sed 's/[^0-9.-]//g') && if [ "$(echo "${VIRTUALGL_VERSION_MIN}" "${VIRTUALGL_VERSION}" | tr " " "\n" | sort -V | head -n 1)" = "${VIRTUALGL_VERSIONMIN}" ]; then curl -fsSL -O https://sourceforge.net/projects/virtualgl/files/virtualgl${VIRTUALGL_VERSION}amd64.deb && curl -fsSL -O https://sourceforge.net/projects/virtualgl/files/virtualgl32${VIRTUALGL_VERSION}_amd64.deb; else VIRTUALGL_VERSION=${VIRTUALGL_VERSIONMIN} && curl -fsSL -O https://s3.amazonaws.com/virtualgl-pr/main/linux/virtualgl${VIRTUALGL_VERSION}amd64.deb && curl -fsSL -O https://s3.amazonaws.com/virtualgl-pr/main/linux/virtualgl32${VIRTUALGL_VERSION}amd64.deb; fi && apt-get update && apt-get install -y --no-install-recommends ./virtualgl${VIRTUALGL_VERSION}amd64.deb ./virtualgl32${VIRTUALGL_VERSION}amd64.deb && rm virtualgl${VIRTUALGL_VERSION}amd64.deb virtualgl32${VIRTUALGL_VERSION}_amd64.deb && rm -rf /var/lib/apt/lists/ && chmod u+s /usr/lib/libvglfaker.so && chmod u+s /usr/lib/libdlfaker.so && chmod u+s /usr/lib32/libvglfaker.so && chmod u+s /usr/lib32/libdlfaker.so && chmod u+s /usr/lib/i386-linux-gnu/libvglfaker.so && chmod u+s /usr/lib/i386-linux-gnu/libdlfaker.so' returned a non-zero code: 22
Do you have any idea about this issue? Thanks