Skip to content

Commit

Permalink
Merge pull request #291 from seanlam97/patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
lukasc-ubc committed Jul 8, 2024
2 parents c838286 + 484f4fb commit 4f9fb36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM quay.io/centos/centos:stream8

# CentOS 8 reached EOL Dec 31, 2021. Therefore, mirrors need to be change to the following
RUN cd /etc/yum.repos.d/
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

# Update the system and install necessary tools.
RUN dnf -y update && \
dnf -y install wget bzip2 unzip git mesa-dri-drivers python3 python3-pip
Expand Down

0 comments on commit 4f9fb36

Please sign in to comment.