From d2ebe4302268480eb9a348a3df8e18838aaf4462 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 10 Nov 2023 10:02:30 +0100 Subject: [PATCH] chore(docker): cleaned up useless removal of falcoctl. Signed-off-by: Federico Di Pierro Co-authored-by: Leonardo Grasso --- docker/no-driver/Dockerfile | 2 +- docker/no-driver/Dockerfile.distroless | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/no-driver/Dockerfile b/docker/no-driver/Dockerfile index ac5fca93bab..f1d3213ae70 100644 --- a/docker/no-driver/Dockerfile +++ b/docker/no-driver/Dockerfile @@ -15,7 +15,7 @@ RUN curl -L -o falco.tar.gz \ tar -xvf falco.tar.gz && \ rm -f falco.tar.gz && \ mv falco-${FALCO_VERSION}-$(uname -m) falco && \ - rm -rf /falco/usr/src/falco-* /falco/usr/bin/falcoctl + rm -rf /falco/usr/src/falco-* RUN sed -e 's/time_format_iso_8601: false/time_format_iso_8601: true/' < /falco/etc/falco/falco.yaml > /falco/etc/falco/falco.yaml.new \ && mv /falco/etc/falco/falco.yaml.new /falco/etc/falco/falco.yaml diff --git a/docker/no-driver/Dockerfile.distroless b/docker/no-driver/Dockerfile.distroless index 3d72a6046e6..9900cc3c4cf 100644 --- a/docker/no-driver/Dockerfile.distroless +++ b/docker/no-driver/Dockerfile.distroless @@ -16,7 +16,7 @@ RUN FALCO_VERSION_URLENCODED=$(echo -n ${FALCO_VERSION}|jq -sRr @uri) && \ tar -xvf falco.tar.gz && \ rm -f falco.tar.gz && \ mv falco-${FALCO_VERSION}-$(uname -m) falco && \ - rm -rf /falco/usr/src/falco-* /falco/usr/bin/falcoctl + rm -rf /falco/usr/src/falco-* RUN sed -e 's/time_format_iso_8601: false/time_format_iso_8601: true/' < /falco/etc/falco/falco.yaml > /falco/etc/falco/falco.yaml.new \ && mv /falco/etc/falco/falco.yaml.new /falco/etc/falco/falco.yaml