Skip to content

Commit

Permalink
Fix internal jenkins job to create RPM
Browse files Browse the repository at this point in the history
  • Loading branch information
sholavanalli authored Aug 4, 2023
1 parent f73e04d commit 4e70543
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion carbonj.service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ FROM quay.io/centos/centos:stream8
ARG DEPENDENCY=build/docker/dependency
ARG VERSION=latest

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-*

# install dependencies
RUN yum update -y && \
yum install -y \
Expand Down Expand Up @@ -102,4 +106,4 @@ RUN chmod +x /sbin/tini
ENTRYPOINT ["/sbin/tini", "--"]

# Run your program under Tini
CMD ["/app/bin/entrypoint.sh"]
CMD ["/app/bin/entrypoint.sh"]

0 comments on commit 4e70543

Please sign in to comment.