docker/Dockerfile in fluent-plugin-k8s-metrics-agg-1.1.5 vs docker/Dockerfile in fluent-plugin-k8s-metrics-agg-1.1.6
- old
+ new
@@ -1,9 +1,8 @@
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} \
@@ -19,12 +18,10 @@
COPY *.gem /tmp/
COPY Gemfile* ./
RUN yum update -y \
- && npm install -g n \
- && yum remove -y nodejs \
- && n ${NODEJS_VERSION} \
+ && yum remove -y nodejs npm \
&& gem install bundler \
&& gem unpack /tmp/*.gem --target gem \
&& bundle install
RUN groupadd -r $FLUENT_USER && \