mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-17 00:01:52 +00:00
chore(ci,docker): more fixes.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com> Co-authored-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
parent
57446c38f7
commit
c44d323b4b
2
.github/workflows/reusable_build_docker.yaml
vendored
2
.github/workflows/reusable_build_docker.yaml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
--build-arg FALCO_VERSION=${{ inputs.version }} \
|
--build-arg FALCO_VERSION=${{ inputs.version }} \
|
||||||
--build-arg TARGETARCH=${TARGETARCH} \
|
--build-arg TARGETARCH=${TARGETARCH} \
|
||||||
.
|
.
|
||||||
docker save docker.io/falcosecurity/falco-no-driver:${{ inputs.arch }}-${{ inputs.tag }} --output /tmp/falco-${{ inputs.arch }}.tar
|
docker save docker.io/falcosecurity/falco:${{ inputs.arch }}-${{ inputs.tag }} --output /tmp/falco-${{ inputs.arch }}.tar
|
||||||
|
|
||||||
- name: Build falco-debian image
|
- name: Build falco-debian image
|
||||||
run: |
|
run: |
|
||||||
|
@ -123,9 +123,6 @@ RUN curl -L -o binutils_2.30-22_${TARGETARCH}.deb https://download.falco.org/dep
|
|||||||
&& curl -L -o binutils-common_2.30-22_${TARGETARCH}.deb https://download.falco.org/dependencies/binutils-common_2.30-22_${TARGETARCH}.deb \
|
&& curl -L -o binutils-common_2.30-22_${TARGETARCH}.deb https://download.falco.org/dependencies/binutils-common_2.30-22_${TARGETARCH}.deb \
|
||||||
&& dpkg -i *binutils*.deb \
|
&& dpkg -i *binutils*.deb \
|
||||||
&& rm -f *binutils*.deb
|
&& rm -f *binutils*.deb
|
||||||
|
|
||||||
# Install latest falcoctl
|
|
||||||
RUN curl -L -o falcoct.tar.gz $(curl -s "https://api.github.com/repos/falcosecurity/falcoctl/releases/latest" | jq -r '.assets[] | select(.name|test(".linux_$TARGETARCH.tar.gz")) | .browser_download_url') && tar -xvf falcoctl.tar.gz && mv falcoctl /usr/bin
|
|
||||||
|
|
||||||
COPY ./docker-entrypoint.sh /
|
COPY ./docker-entrypoint.sh /
|
||||||
|
|
||||||
|
@ -35,9 +35,6 @@ RUN apt-get update \
|
|||||||
xz-utils \
|
xz-utils \
|
||||||
zstd \
|
zstd \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install latest falcoctl
|
|
||||||
RUN curl -L -o falcoct.tar.gz $(curl -s "https://api.github.com/repos/falcosecurity/falcoctl/releases/latest" | jq -r '.assets[] | select(.name|test(".linux_$TARGETARCH.tar.gz")) | .browser_download_url') && tar -xvf falcoctl.tar.gz && mv falcoctl /usr/bin
|
|
||||||
|
|
||||||
# Some base images have an empty /lib/modules by default
|
# Some base images have an empty /lib/modules by default
|
||||||
# If it's not empty, docker build will fail instead of
|
# If it's not empty, docker build will fail instead of
|
||||||
|
@ -25,9 +25,6 @@ RUN curl -s https://falco.org/repo/falcosecurity-packages.asc | apt-key add - \
|
|||||||
&& if [ "$FALCO_VERSION" = "latest" ]; then FALCO_DRIVER_CHOICE=none apt-get install -y --no-install-recommends falco; else FALCO_DRIVER_CHOICE=none apt-get install -y --no-install-recommends falco=${FALCO_VERSION}; fi \
|
&& if [ "$FALCO_VERSION" = "latest" ]; then FALCO_DRIVER_CHOICE=none apt-get install -y --no-install-recommends falco; else FALCO_DRIVER_CHOICE=none apt-get install -y --no-install-recommends falco=${FALCO_VERSION}; fi \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Falcoctl is not included here.
|
|
||||||
RUN rm -rf /usr/bin/falcoctl /etc/falcoctl/
|
|
||||||
|
|
||||||
RUN sed -i -e 's/time_format_iso_8601: false/time_format_iso_8601: true/' /etc/falco/falco.yaml
|
RUN sed -i -e 's/time_format_iso_8601: false/time_format_iso_8601: true/' /etc/falco/falco.yaml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user