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 /vendor
bin /.build
/.release
/.tarballs
debug debug
*.json *.json
Manifest Manifest
.idea
smartctl_exporter smartctl_exporter
*.exe

View File

@ -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"