Fix Dockerfile (#53)

Fix apk package install.
* Cleanup gitignore.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie 2022-08-08 17:03:53 +02:00 committed by GitHub
parent b63f56e391
commit b528194980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

8
.gitignore vendored
View file

@ -1,8 +1,10 @@
vendor
bin
/vendor
/.build
/.release
/.tarballs
debug
*.json
Manifest
.idea
smartctl_exporter
*.exe

View file

@ -3,7 +3,7 @@ ARG OS="linux"
FROM ${ARCH}/alpine:3
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
RUN apk install smartmontools
RUN apk add smartmontools
ARG ARCH="amd64"
ARG OS="linux"