Sha256: a23f203c7d4b96a66f321e9ff8744d8d64ba68b12600b6e4691ec65075f5d804

Contents?: true

Size: 955 Bytes

Versions: 1

Compression:

Stored size: 955 Bytes

Contents

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

ARG 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 \
   && yum remove -y nodejs npm \
   && 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.6 docker/Dockerfile