Skip to content

Commit

Permalink
[CI]: fix Jenkins ol8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
martinspinler committed Nov 13, 2024
1 parent 5d089b3 commit c831726
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jenkins/oraclelinux8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ ARG OSRELEASEVER=8
ARG OSNAME=centos
FROM $OSNAME:$OSRELEASEVER as default

RUN /usr/sbin/groupadd -f -g 991 jenkins
RUN /usr/sbin/useradd jenkins -u 1001 -g 991
RUN /usr/sbin/useradd jenkins
RUN echo "jenkins ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers

RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Expand Down

0 comments on commit c831726

Please sign in to comment.