ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in / |
CMD ["/bin/sh"] |
ARG image_version=0.0 |
ARG agent_version=0.0 |
ARG version_file=VERSION |
ARG agent_bin=newrelic-infra |
COPY newrelic-infra /usr/bin/newrelic-infra # buildkit |
COPY newrelic-infra-ctl /usr/bin/newrelic-infra-ctl # buildkit |
COPY newrelic-infra-service /usr/bin/newrelic-infra-service # buildkit |
COPY assets /newrelic # buildkit |
COPY VERSION /newrelic/VERSION # buildkit |
LABEL com.newrelic.image.version=1.40.1-rc com.newrelic.infra-agent.version=1.40.1 com.newrelic.maintainer=infrastructure-eng@newrelic.com com.newrelic.description=New Relic Infrastructure agent for monitoring the underlying host. |
ENV NRIA_IS_CONTAINERIZED=true |
ENV NRIA_OVERRIDE_HOST_ROOT=/host |
RUN |4 image_version=1.40.1-rc agent_version=1.40.1 version_file=VERSION agent_bin=newrelic-infra /bin/sh -c apk --no-cache upgrade # buildkit |
RUN |4 image_version=1.40.1-rc agent_version=1.40.1 version_file=VERSION agent_bin=newrelic-infra /bin/sh -c apk add --no-cache --upgrade ca-certificates && mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 && apk add --no-cache tini # buildkit |
ENTRYPOINT ["/sbin/tini" "--"] |
CMD ["/usr/bin/newrelic-infra-service"] |
ARG nri_pkg_dir |
ARG nri_docker_version |
ARG nri_flex_version |
ARG nri_prometheus_version |
LABEL com.newrelic.nri-docker.version=1.8.0 com.newrelic.nri-flex.version=1.7.2 com.newrelic.nri-prometheus.version=2.18.0 |
RUN |4 nri_pkg_dir=ohis nri_docker_version=1.8.0 nri_flex_version=1.7.2 nri_prometheus_version=2.18.0 /bin/sh -c apk add --no-cache ntpsec curl # buildkit |
COPY ohis / # buildkit |
ADD newrelic-infra.yml /etc/newrelic-infra.yml # buildkit |
ADD logging.yml /etc/newrelic-infra/logging.d/logging.yml # buildkit |
ADD logging.yml /etc/logging.d/logging.yml # buildkit |