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/