Skip to content

Updating centos version #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: add_repo
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docker/Centos.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM centos:7
FROM centos:8

RUN cd /etc/yum.repos.d/
#Comment all the occurences of mirrorlist inside /etc/yum.repos.d/CentOS-* file
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
#Replace all the occurences of mirror basurl with vault baseurl inside /etc/yum.repos.d/CentOS-* file
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN yum install -y pinentry rpm-sign rpm-build

COPY build_rpm.sh /usr/sbin/

4 changes: 2 additions & 2 deletions examples/alpine/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
packages:
- name: "alpine"
release: "ThinXR_7.3.15"
release: "ThinXR"
version: "0.1.0"
sources:
- name: alpine
Expand All @@ -13,7 +13,7 @@ packages:
dir: examples/alpine/data

- name: "alpine"
release: "eXR_7.3.1"
release: "eXR"
version: "0.1.0"
sources:
- name: alpine
Expand Down
File renamed without changes.
File renamed without changes.