mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-14 05:51:43 +00:00
build(image): simplified untarring command to install falco binary and scripts in ubi
Signed-off-by: TPT <teryl.taylor@gmail.com>
This commit is contained in:
@@ -35,8 +35,7 @@ RUN mkdir /build && cd /build/ && curl --remote-name-all -L https://github.com/d
|
||||
tar xvf v3.0.3.tar.gz && cd dkms-3.0.3 && make install-redhat && rm -rf /build
|
||||
|
||||
RUN mkdir /deploy && cd /deploy/ && curl --remote-name-all -L https://download.falco.org/packages/bin/x86_64/falco-${FALCO_VERSION}-x86_64.tar.gz && \
|
||||
tar xvf falco-${FALCO_VERSION}-x86_64.tar.gz && cd falco-${FALCO_VERSION}-x86_64 && cp usr/bin/falco* /usr/bin/ && \
|
||||
chmod +x /usr/bin/falco-driver-loader && cp -r etc/falco /etc/ && cp -r usr/src/falco-* /usr/src/ && cp -r usr/share/falco /usr/share/falco && \
|
||||
cd / && tar --strip-components=1 -xvf /deploy/falco-${FALCO_VERSION}-x86_64.tar.gz && \
|
||||
rm -rf /deploy
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
|
Reference in New Issue
Block a user