Explorar o código

copy build-time entitlements to system-wide

Grega Bremec %!s(int64=2) %!d(string=hai) anos
pai
achega
6625e70773
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      images/Containerfile-sysstat

+ 2 - 1
images/Containerfile-sysstat

@@ -4,7 +4,8 @@ USER 0
 
 COPY entrypoint-sysstat.sh /usr/local/bin/entrypoint.sh
 
-RUN microdnf -y install sysstat && \
+RUN cp ./etc-pki-entitlement/* /etc/pki/entitlement/ && \
+    microdnf -y install sysstat && \
     rm -rf /var/lib/dnf /var/cache/dnf /var/cache/cups /var/cache/PackageKit && \
     chmod 755 /usr/local/bin/entrypoint.sh