Skip to content

Commit

Permalink
lap pognali
Browse files Browse the repository at this point in the history
  • Loading branch information
xnull committed Apr 30, 2024
1 parent 46debc3 commit 9162582
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
6 changes: 6 additions & 0 deletions cloud/infrastructure/filebeat/filebeat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
FROM docker.elastic.co/beats/filebeat:7.10.0

USER root

RUN yum install -y yum-utils \
&& yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo \
&& yum install -y docker-ce-cli

ADD filebeat.yml /usr/share/filebeat/filebeat.yml

CMD filebeat -e --strict.perms=false --once run
14 changes: 13 additions & 1 deletion cloud/infrastructure/integration-tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
FROM openjdk
FROM openjdk:21-bullseye

RUN apt update \
&& apt install -y ca-certificates curl \
&& install -m 0755 -d /etc/apt/keyrings \
&& curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc \
&& chmod a+r /etc/apt/keyrings/docker.asc \
&& echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null

RUN apt update && apt install -y docker-ce-cli

ADD ./lib /app/lib/
ADD ./*.jar /app/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class LoaderManager(
"--name ${aggregationUnit}-${archive.name} " +
"-v log-aggregation-data:/data " +
"${toolConfig.filebeatImage} " +
"filebeat -e --strict.perms=false " +
"filebeat" +
" -e --strict.perms=false " +
"-E fields.server=${archive.name} " +
"-E fields.aggregation_unit=${aggregationUnit} " +
"-E BASE_DIR=/data/${aggregationUnit}/${archive.name} " +
Expand Down

0 comments on commit 9162582

Please sign in to comment.