Skip to content

Commit

Permalink
fix(docker): fixed entrypoints paths with new docker context.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Feb 13, 2025
1 parent cd81c52 commit 7c8bdf0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions 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 config/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 All @@ -121,6 +121,6 @@ RUN curl -L -o binutils_2.30-22_${TARGETARCH}.deb https://download.falco.org/dep
&& dpkg -i *binutils*.deb \
&& rm -f *binutils*.deb

COPY ./docker-entrypoint.sh /
COPY ./docker/driver-loader-buster/docker-entrypoint.sh /

ENTRYPOINT ["/docker-entrypoint.sh"]
2 changes: 1 addition & 1 deletion docker/driver-loader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ RUN apt-get update \
RUN rm -df /lib/modules \
&& ln -s $HOST_ROOT/lib/modules /lib/modules

COPY ./docker-entrypoint.sh /
COPY ./docker/driver-loader/docker-entrypoint.sh /

ENTRYPOINT ["/docker-entrypoint.sh"]
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 config/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 config/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 7c8bdf0

Please sign in to comment.