Base Docker image on Debian slim (Bullseye)

Also restrict Docker images to amd64, until a couple of issues are
sorted out.
This commit is contained in:
Conrad Hoffmann 2022-03-14 10:23:15 +01:00
parent bb59b211ee
commit 51af34da5b
2 changed files with 5 additions and 2 deletions

View File

@ -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 <prometheus-developers@googlegroups.com>"
ARG ARCH="amd64"

View File

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