This is my dockerfile, i have my docker-compose.yml file where i'm building this file using docker-compose up --build. But each time it fails showing exit code 137
Dockerfile
FROM docker.elastic.co/logstash/logstash:8.10.4 as builder
RUN /usr/share/logstash/bin/logstash-plugin install logstash-integration-jdbc
FROM docker.elastic.co/logstash/logstash:8.10.4
COPY --from=builder /usr/share/logstash /usr/share/logstash
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
Log
[logstash builder 2/2] RUN /usr/share/logstash/bin/logstash-plugin install logstash-integration-jdbc:
#0 0.343 Using bundled JDK: /usr/share/logstash/jdk
#0 8.810 Validating logstash-integration-jdbc
#0 15.39 Resolving mixin dependencies
#0 22.07 Updating mixin dependencies logstash-mixin-ecs_compatibility_support, logstash-mixin-validator_support, logstash-mixin-event_support, logstash-mixin-scheduler
#0 156.0 Killed
failed to solve: process "/bin/sh -c /usr/share/logstash/bin/logstash-plugin install logstash-integration-jdbc" did not complete successfully: exit code: 137