Dockerfile 429 Bytes
Newer Older
Stan Hu's avatar
Stan Hu committed
1
FROM ruby:2.5.1-alpine3.7
2

3
ENV PROMETHEUS_VERSION 2.5.0
4

5 6 7 8 9
RUN apk add --no-cache wget tar && \
   wget -O prometheus.tar.gz https://github.com/prometheus/prometheus/releases/download/v$PROMETHEUS_VERSION/prometheus-$PROMETHEUS_VERSION.linux-amd64.tar.gz && \
   mkdir /prometheus && \
   tar -xvf prometheus.tar.gz -C /prometheus --strip-components 1 --wildcards */promtool && \
   rm prometheus.tar.gz
10

Stan Hu's avatar
Stan Hu committed
11
RUN gem install yaml-lint