Skip to content

Commit 1cd4712

Browse files
committed
Change make patch to a conditional relying on Makefile availability.
1 parent f99f8a2 commit 1cd4712

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile.rocky8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ RUN cp generated-confs/libnss_mig.conf /etc/ \
14991499

15001500
# Adjust paramiko to reduce log noise from scans if matching patch is available
15011501
RUN cd $MIG_ROOT/mig/src/paramiko \
1502-
&& make patch PLATFORM=el8
1502+
&& if [ -e Makefile ]; then make patch PLATFORM=el8 ; fi
15031503

15041504
RUN chmod 755 generated-confs/envvars \
15051505
&& chmod 755 generated-confs/httpd.conf

Dockerfile.rocky9

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,7 @@ RUN cp generated-confs/libnss_mig.conf /etc/ \
13871387
# Adjust paramiko to reduce log noise from scans if matching patch is available
13881388
RUN cd $MIG_ROOT/mig/src/paramiko \
13891389
&& make patch PLATFORM=el9
1390+
&& if [ -e Makefile ]; then make patch PLATFORM=el9 ; fi
13901391

13911392
RUN chmod 755 generated-confs/envvars \
13921393
&& chmod 755 generated-confs/httpd.conf

0 commit comments

Comments
 (0)