Skip to content

Commit

Permalink
Base Docker image on Debian slim (Bullseye)
Browse files Browse the repository at this point in the history
Also restrict Docker images to amd64, until a couple of issues are
sorted out.
  • Loading branch information
bitfehler committed Mar 14, 2022
1 parent bb59b21 commit 51af34d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 51af34d

Please sign in to comment.