From 51af34da5b6c0b3a2b66d5e049fd416a26644f34 Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Mon, 14 Mar 2022 10:23:15 +0100 Subject: [PATCH] Base Docker image on Debian slim (Bullseye) Also restrict Docker images to amd64, until a couple of issues are sorted out. --- Dockerfile | 4 +++- Makefile | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7feb2d8..c113586 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ ARG ARCH="amd64" ARG OS="linux" -FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest +FROM debian:bullseye-slim +#FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest +RUN apt-get update && apt-get install -y freeipmi LABEL maintainer="The Prometheus Authors " ARG ARCH="amd64" diff --git a/Makefile b/Makefile index a6ff618..41853fa 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ .PHONY: all all: precheck style unused build test -DOCKER_ARCHS ?= amd64 arm64 +#DOCKER_ARCHS ?= amd64 arm64 +DOCKER_ARCHS ?= amd64 DOCKER_IMAGE_NAME ?= ipmi-exporter DOCKER_REPO ?= prometheuscommunity