mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-11-23 01:43:07 +01:00
Fix Dockerfile (#53)
Fix apk package install. * Cleanup gitignore. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
parent
b63f56e391
commit
b528194980
2 changed files with 6 additions and 4 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -1,8 +1,10 @@
|
||||||
vendor
|
/vendor
|
||||||
bin
|
/.build
|
||||||
|
/.release
|
||||||
|
/.tarballs
|
||||||
debug
|
debug
|
||||||
*.json
|
*.json
|
||||||
|
|
||||||
Manifest
|
Manifest
|
||||||
.idea
|
|
||||||
smartctl_exporter
|
smartctl_exporter
|
||||||
|
*.exe
|
||||||
|
|
|
@ -3,7 +3,7 @@ ARG OS="linux"
|
||||||
FROM ${ARCH}/alpine:3
|
FROM ${ARCH}/alpine:3
|
||||||
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
|
||||||
|
|
||||||
RUN apk install smartmontools
|
RUN apk add smartmontools
|
||||||
|
|
||||||
ARG ARCH="amd64"
|
ARG ARCH="amd64"
|
||||||
ARG OS="linux"
|
ARG OS="linux"
|
||||||
|
|
Loading…
Reference in a new issue