forked from mirrors/statsd_exporter
13 lines
273 B
Docker
13 lines
273 B
Docker
FROM prom/statsd-exporter:v0.23.0
|
|
|
|
EXPOSE 9102 9125 9125/udp
|
|
|
|
USER root
|
|
COPY start.sh /bin/start.sh
|
|
COPY statsd-mapping.yaml /bin/statsd-mapping.yaml
|
|
RUN mkdir /app
|
|
RUN mkdir /app/data
|
|
RUN chmod 777 /app/data
|
|
RUN chmod +x /bin/start.sh
|
|
|
|
ENTRYPOINT [ "/bin/start.sh" ]
|