Sha256: 996f7ac92472612fddf995f7ec16ebd0c9808bc706987262f79df9ae0ae781b0
Contents?: true
Size: 1.97 KB
Versions: 2
Compression:
Stored size: 1.97 KB
Contents
FROM ruby:2.7.4-buster as builder ADD ./ /app/ WORKDIR /app RUN gem install bundler RUN bundle update --bundler RUN bundle install RUN bundle exec rake build -t -v 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 --from=builder /app/pkg/fluent-plugin-*.gem /tmp/ RUN mkdir /licenses COPY --from=builder /app/LICENSE /licenses/LICENSE COPY --from=builder /app/docker/Gemfile* ./ RUN gem update date cgi RUN rm -f /usr/share/gems/specifications/default/cgi-0.1.0.gemspec /usr/share/gems/specifications/default/date-3.0.0.gemspec RUN yum update -y \ && yum remove -y nodejs npm \ && gem install bundler \ && gem uninstall -i /usr/share/gems bundler \ && gem unpack /tmp/*.gem --target gem \ && bundle install \ && bundle update i18n \ && gem uninstall -i /usr/share/gems i18n --version 1.8.11 \ && rpm -e --nodeps python3-pip-wheel python3-urllib3-* python3-requests-* python3-libxml2-* python3-dmidecode-* subscription-manager-* libwebp-* libwebp-devel-* libjpeg-turbo-devel-* libjpeg-turbo-* mariadb-connector-c-config-* mariadb-connector-c-* mariadb-connector-c-devel-* rsync-* libX11-* libX11-common-* libX11-devel-* libX11-xcb-* dbus-daemon-* tar-* qt5-srpm-macros-* perl-parent-* git-* bsdtar-* openssh-clients-* binutils-* libtiff-devel-* libtiff-* || true 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 && \ chmod +t /tmp USER $FLUENT_USER CMD bundle exec fluentd -c /fluentd/etc/fluent.conf
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-k8s-metrics-agg-1.2.2 | docker/Dockerfile |
fluent-plugin-k8s-metrics-agg-1.2.1 | docker/Dockerfile |