Skip to content

Commit

Permalink
chore(docker,scripts): moved scripts/falco to config/ folder.
Browse files Browse the repository at this point in the history
Updated dockerignore to point to whole config folder.

Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Feb 12, 2025
1 parent a5a55fb commit cd81c52
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*
!scripts/falco/falco_iso8601_timeformat.yaml
!config/
!docker/
File renamed without changes.
2 changes: 1 addition & 1 deletion docker/driver-loader-buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/falco-debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion docker/falco/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit cd81c52

Please sign in to comment.