Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Log4j #18

merged 1 commit into from
Dec 15, 2021
Changes from all commits
File filter

Filter by extension

Filter by extension

Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 13 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
FROM as logstash

FROM alpine:3.15 as patch

COPY --from=logstash /usr/share/logstash /logstash-patch

RUN apk add zip

RUN zip -q -d /logstash-patch/logstash-core/**/*/log4j-core-2.* org/apache/logging/log4j/core/lookup/JndiLookup.class

FROM logstash

COPY --from=patch /logstash-patch /usr/share/logstash

RUN /usr/share/logstash/bin/logstash-plugin install logstash-output-amazon_es

Expand Down