Sha256: 47f73dc9440e40a7866031423c7daa06a1ed7756b6111b2fde233488a42c5e97

Contents?: true

Size: 1023 Bytes

Versions: 1

Compression:

Stored size: 1023 Bytes

Contents

FROM registry.access.redhat.com/ubi8/ruby-27

ARG VERSION
ARG NODEJS_VERSION

LABEL name="Splunk Connect for Kubernetes Metrics Aggregator container" \
      maintainer="DataEdge@splunk.com" \
      vendor="Splunk Inc." \
      version=${VERSION} \
      release=${VERSION} \
      summary="Splunk Connect for Kubernetes Metrics Aggregator container" \
      description="Splunk Connect for Kubernetes Metrics Aggregator container"

ENV VERSION=${VERSION}
ENV FLUENT_USER fluent

USER root
COPY licenses /licenses

COPY *.gem /tmp/

COPY Gemfile* ./
RUN yum update -y \
   && npm install -g n \
   && yum remove -y nodejs \
   && n ${NODEJS_VERSION} \
   && gem install bundler \
   && gem unpack /tmp/*.gem --target gem \
   && bundle install 

RUN groupadd -r $FLUENT_USER && \
  useradd -r -g $FLUENT_USER $FLUENT_USER && \
  mkdir -p /fluentd/log /fluentd/etc /fluentd/plugins &&\
  chown -R $FLUENT_USER /fluentd && chgrp -R $FLUENT_USER /fluentd

USER $FLUENT_USER
CMD bundle exec fluentd -c /fluentd/etc/fluent.conf

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-k8s-metrics-agg-1.1.5 docker/Dockerfile