From cd81c52dde20925111a80d0ab474cf8baa9f6c9a Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 10 Feb 2025 10:34:44 +0100 Subject: [PATCH] chore(docker,scripts): moved scripts/falco to config/ folder. Updated dockerignore to point to whole config folder. Signed-off-by: Federico Di Pierro --- .dockerignore | 2 +- .../falco.iso8601_timeformat.yaml | 0 docker/driver-loader-buster/Dockerfile | 2 +- docker/falco-debian/Dockerfile | 2 +- docker/falco/Dockerfile | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename scripts/falco/falco_iso8601_timeformat.yaml => config/falco.iso8601_timeformat.yaml (100%) diff --git a/.dockerignore b/.dockerignore index 7697c4d5..669d46f8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,3 @@ * -!scripts/falco/falco_iso8601_timeformat.yaml +!config/ !docker/ diff --git a/scripts/falco/falco_iso8601_timeformat.yaml b/config/falco.iso8601_timeformat.yaml similarity index 100% rename from scripts/falco/falco_iso8601_timeformat.yaml rename to config/falco.iso8601_timeformat.yaml diff --git a/docker/driver-loader-buster/Dockerfile b/docker/driver-loader-buster/Dockerfile index 051c5525..2eb2ff4a 100644 --- a/docker/driver-loader-buster/Dockerfile +++ b/docker/driver-loader-buster/Dockerfile @@ -97,7 +97,7 @@ RUN curl -s https://falco.org/repo/falcosecurity-packages.asc | apt-key add - \ && rm -rf /var/lib/apt/lists/* # Change the falco config within the container to enable ISO 8601 output. -ADD scripts/falco/falco_iso8601_timeformat.yaml /etc/falco/config.d/ +ADD config/falco.iso8601_timeformat.yaml /etc/falco/config.d/ # Some base images have an empty /lib/modules by default # If it's not empty, docker build will fail instead of diff --git a/docker/falco-debian/Dockerfile b/docker/falco-debian/Dockerfile index 6a2d5f1c..5b8f8b1a 100644 --- a/docker/falco-debian/Dockerfile +++ b/docker/falco-debian/Dockerfile @@ -27,6 +27,6 @@ RUN curl -s https://falco.org/repo/falcosecurity-packages.asc | apt-key add - \ && rm -rf /var/lib/apt/lists/* # Change the falco config within the container to enable ISO 8601 output. -ADD scripts/falco/falco_iso8601_timeformat.yaml /etc/falco/config.d/ +ADD config/falco.iso8601_timeformat.yaml /etc/falco/config.d/ CMD ["/usr/bin/falco"] diff --git a/docker/falco/Dockerfile b/docker/falco/Dockerfile index 4a121705..e97a88a9 100644 --- a/docker/falco/Dockerfile +++ b/docker/falco/Dockerfile @@ -29,7 +29,7 @@ RUN FALCO_VERSION_URLENCODED=$(echo -n ${FALCO_VERSION}|jq -sRr @uri) && \ rm -rf /falco # Change the falco config within the container to enable ISO 8601 output. -ADD scripts/falco/falco_iso8601_timeformat.yaml /etc/falco/config.d/ +ADD config/falco.iso8601_timeformat.yaml /etc/falco/config.d/ # Falcoctl is not included here. RUN rm -rf /usr/bin/falcoctl /etc/falcoctl/