Ghada Khalil 22dce7343f Revert "debian: stx-audit: port to debian"
This reverts commit 4b2004a95e526e8fdb837a28aac8d48f9b79997c.

Reason for revert: Introduced a new issue as reported in https://bugs.launchpad.net/starlingx/+bug/1972732

Closes-Bug: 1972732

Change-Id: I56353f8929175f2303a67fa3a748468d6a4655ef
2022-05-09 21:37:36 +00:00

14 lines
263 B
Docker

ARG BASE
FROM ${BASE} AS stx
RUN yum -y update
RUN yum -y install\
audit
COPY startAuditd.sh .
RUN mkdir -p /etc/audit
RUN touch /etc/audit/audit.rules
RUN chmod 600 /etc/audit/audit.rules
RUN chmod 755 startAuditd.sh
ENTRYPOINT ["./startAuditd.sh"]