mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 17:04:22 -05:00
5c3a7a5580
* deps: upgrade OS to Fedora 40 * image: measure uki sections uname and sbat for systemd >= 254 * deps: update mainline kernel for Fedora 40 * image: update kernel to 6.6.30 * image: update upload docs --------- Co-authored-by: Malte Poll <1780588+malt3@users.noreply.github.com>
21 lines
756 B
Docker
21 lines
756 B
Docker
FROM fedora:40@sha256:5ce8497aeea599bf6b54ab3979133923d82aaa4f6ca5ced1812611b197c79eb0 AS build
|
|
|
|
ARG LOGSTASH_VER=8.6.1
|
|
|
|
RUN curl -fsSLO https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-$LOGSTASH_VER-linux-x64.tar.gz
|
|
RUN tar -zxvf logstash-oss-with-opensearch-output-plugin-$LOGSTASH_VER-linux-x64.tar.gz
|
|
|
|
FROM fedora:40@sha256:5ce8497aeea599bf6b54ab3979133923d82aaa4f6ca5ced1812611b197c79eb0 AS release
|
|
|
|
COPY --from=build logstash-* /usr/share/logstash
|
|
|
|
COPY debugd/logstash/config/ /usr/share/logstash/config/
|
|
COPY debugd/logstash/templates/ /usr/share/constellogs/templates/
|
|
|
|
RUN chmod -R 777 /usr/share/logstash/data/
|
|
|
|
RUN useradd -s /bin/bash logstash
|
|
USER logstash
|
|
|
|
ENTRYPOINT ["/usr/share/logstash/bin/logstash"]
|