Skip to content

Commit

Permalink
Closes #2457 - Enable CentOS Vault as a temporary workaround for EOL …
Browse files Browse the repository at this point in the history
…CentOS 7 (#2458)
  • Loading branch information
keith-ratcliffe committed Jul 2, 2024
1 parent d1b8678 commit 905c389
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web-services/deploy/application/src/main/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM azul/zulu-openjdk-centos:11.0.18-11.62.17

RUN sed -i 's|mirrorlist|#mirrorlist|g;s|#baseurl.*|baseurl=http://archive.kernel.org/centos-vault/centos/$releasever/updates/$basearch/|g' /etc/yum.repos.d/CentOS-Base.repo && \
sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/CentOS-Vault.repo

RUN yum -y install deltarpm centos-release-sc && \
chmod -R 777 /usr/lib/jvm/zulu11/bin/* && \
Expand Down

0 comments on commit 905c389

Please sign in to comment.