Skip to content

Commit 0d44b75

Browse files
committed
Add comments to Dockerfile
1 parent b81e650 commit 0d44b75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
FROM quay.io/prometheus/golang-builder as builder
1+
FROM quay.io/prometheus/golang-builder AS builder
22

3+
# Get sql_exporter
34
ADD . /go/src/github.com/free/sql_exporter
45
WORKDIR /go/src/github.com/free/sql_exporter
56

7+
# Do makefile
68
RUN make
79

10+
# Make image and copy build sql_exporter
811
FROM quay.io/prometheus/busybox:glibc
912
MAINTAINER The Prometheus Authors <[email protected]>
1013
COPY --from=builder /go/src/github.com/free/sql_exporter/sql_exporter /bin/sql_exporter

0 commit comments

Comments
 (0)