Skip to content

Instantly share code, notes, and snippets.

@zclongpop123
Last active October 13, 2023 13:07
Show Gist options
  • Save zclongpop123/cd141e7dee762c5553f94129d6449599 to your computer and use it in GitHub Desktop.
Save zclongpop123/cd141e7dee762c5553f94129d6449599 to your computer and use it in GitHub Desktop.
maya docker
FROM rockylinux:8
RUN sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.nju.edu.cn/rocky|g' \
-i.bak \
/etc/yum.repos.d/[Rr]ocky*.repo
RUN dnf makecache
RUN dnf install -y epel-release wget
RUN sed -e 's!^metalink=!#metalink=!g' \
-e 's!^#baseurl=!baseurl=!g' \
-e 's!//download\.fedoraproject\.org/pub!//mirrors.tuna.tsinghua.edu.cn!g' \
-e 's!//download\.example/pub!//mirrors.tuna.tsinghua.edu.cn!g' \
-e 's!http://mirrors!https://mirrors!g' \
-i /etc/yum.repos.d/epel*.repo
RUN dnf makecache
RUN dnf install -y compat-openssl10 \
libSM \
libICE \
zlib \
openssl-libs \
nss \
dbus \
mesa-libGLU \
mesa-libGLw \
gamin \
audiofile-devel \
e2fsprogs-libs \
libcap \
libdrm \
libmng \
speech-dispatcher \
cups \
libpng* \
libXau \
libXcomposite \
libXcursor \
libXdamage \
libXext \
libXfixes \
libXi \
libXmu \
libXp \
libXrandr \
libXrender \
libXScrnSaver \
libxshmfence \
libXt \
libXtst \
libXinerama \
libxcb \
xcb-util \
xcb-util-wm \
xcb-util-image \
xcb-util-keysyms \
xcb-util-renderutil \
libxkbcommon \
libxkbcommon-x11 \
libX11 \
fontconfig \
freetype \
xorg-x11-* \
liberation-mono-fonts \
liberation-fonts-common \
liberation-sans-fonts \
liberation-serif-fonts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment