Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 8a03a9e

Browse files
author
Jarret Lavallee
committed
Update grafana build to use alpine
The upstream grafana image switched over to using alpine instead of ubuntu as the container image. This commit fixes issues with the alpine docker build to ensure it works with alpine.
1 parent 29ed01b commit 8a03a9e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

grafana-puppetserver/Dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ USER root
55
USER root
66

77
COPY build/* /grafana-puppet/
8-
RUN apt-get update && \
9-
apt-get -y install curl && \
10-
apt-get -y autoremove && \
11-
apt-get -y clean && \
12-
rm -rf /var/lib/apt/lists/* && \
8+
RUN apk add curl && \
139
rm -rf /tmp/*
1410

1511
USER grafana
@@ -19,7 +15,7 @@ ENTRYPOINT /grafana-puppet/run.sh
1915
LABEL org.label-schema.vendor="Reid Vandewiele" \
2016
org.label-schema.name="Grafana Puppetserver Dashboard" \
2117
org.label-schema.description="Grafana running a dashboard to display puppetserver metrics captured using npwalker/pe_metric_curl_cron_jobs" \
22-
org.label-schema.version="1.7.1" \
18+
org.label-schema.version="1.8.0" \
2319
org.label-schema.vcs-url="https://github.com/puppetlabs/puppet-metrics-viewer" \
2420
org.label-schema.build-date="2017-05-26" \
2521
org.label-schema.docker.schema-version="1.0"

0 commit comments

Comments
 (0)