From b528194980dc6db3afa4963c0766663ae4b04da8 Mon Sep 17 00:00:00 2001 From: Ben Kochie Date: Mon, 8 Aug 2022 17:03:53 +0200 Subject: [PATCH] Fix Dockerfile (#53) Fix apk package install. * Cleanup gitignore. Signed-off-by: SuperQ --- .gitignore | 8 +++++--- Dockerfile | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f3ed42a..b7b73ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,10 @@ -vendor -bin +/vendor +/.build +/.release +/.tarballs debug *.json Manifest -.idea smartctl_exporter +*.exe diff --git a/Dockerfile b/Dockerfile index f45fcd8..1fd60c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG OS="linux" FROM ${ARCH}/alpine:3 LABEL maintainer="The Prometheus Authors " -RUN apk install smartmontools +RUN apk add smartmontools ARG ARCH="amd64" ARG OS="linux"