Skip to content

Commit

Permalink
CentOS 7 for Life 😎
Browse files Browse the repository at this point in the history
I know EL7 is EOL and I don't care, we will still use EL7 to build Linux binaries.

There are no security concerns for our usage.
  • Loading branch information
rodlie committed Jul 4, 2024
1 parent 1d1d453 commit 7e94923
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/scripts/Dockerfile.vfxplatform
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# VFX Reference Platform for Friction
FROM centos:centos7.9.2009

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum -y update
RUN yum -y install centos-release-scl

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum -y group install "Development Tools"
RUN yum -y install pulseaudio-libs-devel wget rpmdevtools git yasm python3 fontconfig-devel zlib-devel autoconf automake xz devtoolset-7 llvm-toolset-7.0 tree curl libICE-devel libSM-devel libX11-devel libXau-devel libXdamage-devel libXext-devel libXfixes-devel libXi-devel libXxf86vm-devel libdrm-devel libxcb-devel mesa-libGL-devel xorg-x11-proto-devel xcb-proto libxcb-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel xorg-x11-util-macros
RUN ln -sf /usr/bin/python3 /usr/bin/python
Expand Down

0 comments on commit 7e94923

Please sign in to comment.