mirror of
https://github.com/wahyd4/docker-hub-exporter.git
synced 2026-08-08 20:37:12 +10:00
Fixed URL
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
FROM golang:1.8.1-alpine as builder
|
||||
|
||||
COPY ./ /go/src/github.com/infinityworksltd/docker-hub-exporter/
|
||||
COPY ./ /go/src/github.com/infinityworks/docker-hub-exporter/
|
||||
|
||||
WORKDIR /go/src/github.com/infinityworksltd/docker-hub-exporter/cmd/exporter/
|
||||
WORKDIR /go/src/github.com/infinityworks/docker-hub-exporter/cmd/exporter/
|
||||
|
||||
RUN apk --update add ca-certificates \
|
||||
&& apk --update add --virtual build-deps git
|
||||
@@ -19,7 +19,7 @@ RUN addgroup exporter \
|
||||
&& adduser -S -G exporter exporter \
|
||||
&& apk --update --no-cache add ca-certificates
|
||||
|
||||
COPY --from=builder /go/src/github.com/infinityworksltd/docker-hub-exporter/cmd/exporter/exporter .
|
||||
COPY --from=builder /go/src/github.com/infinityworks/docker-hub-exporter/cmd/exporter/exporter .
|
||||
|
||||
USER exporter
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
"fmt"
|
||||
|
||||
exporter "github.com/infinityworksltd/docker-hub-exporter"
|
||||
exporter "github.com/infinityworks/docker-hub-exporter"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
)
|
||||
@@ -76,7 +76,7 @@ func main() {
|
||||
<head><title>Docker Hub Exporter</title></head>
|
||||
<body>
|
||||
<h1>Docker Hub Prometheus Metrics Exporter</h1>
|
||||
<p>For more information, visit <a href='https://github.com/infinityworksltd/docker-hub-exporter'>GitHub</a></p>
|
||||
<p>For more information, visit <a href='https://github.com/infinityworks/docker-hub-exporter'>GitHub</a></p>
|
||||
<p><a href='` + *metricsPath + `'>Metrics</a></p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user