mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-28 14:59:32 -04:00
ci: build logcollector images
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
0a5c768088
commit
474f7ad356
6 changed files with 51 additions and 12 deletions
|
@ -1,7 +0,0 @@
|
|||
.PHONY: containers
|
||||
|
||||
containers:
|
||||
docker build ./filebeat -t ghcr.io/edgelesssys/constellation/filebeat-debug
|
||||
docker build ./logstash -t ghcr.io/edgelesssys/constellation/logstash-debug
|
||||
docker push ghcr.io/edgelesssys/constellation/filebeat-debug
|
||||
docker push ghcr.io/edgelesssys/constellation/logstash-debug
|
|
@ -1,8 +1,8 @@
|
|||
FROM fedora:37@sha256:f2c083c0b7d2367a375f15e002c2dc7baaca2b3181ace61f9d5113a8fe2f6b44
|
||||
FROM fedora:37@sha256:f2c083c0b7d2367a375f15e002c2dc7baaca2b3181ace61f9d5113a8fe2f6b44 AS release
|
||||
|
||||
RUN dnf install -y https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.5.0-x86_64.rpm systemd-devel
|
||||
|
||||
COPY filebeat.yml /usr/share/filebeat/filebeat.yml
|
||||
COPY debugd/internal/debugd/logcollector/filebeat/filebeat.yml /usr/share/filebeat/filebeat.yml
|
||||
|
||||
RUN chmod 600 /usr/share/filebeat/filebeat.yml
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
FROM docker.io/opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2
|
||||
FROM docker.io/opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2 AS release
|
||||
|
||||
RUN rm -f /usr/share/logstash/pipeline/logstash.conf
|
||||
|
||||
COPY config/ /usr/share/logstash/config/
|
||||
COPY debugd/internal/debugd/logcollector/logstash/config/ /usr/share/logstash/config/
|
||||
|
||||
COPY templates/ /usr/share/constellogs/templates/
|
||||
COPY debugd/internal/debugd/logcollector/logstash/templates/ /usr/share/constellogs/templates/
|
||||
|
||||
ENTRYPOINT ["/usr/share/logstash/bin/logstash"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue