Downgrade to buster due to bullseye repo being incomplete

This commit is contained in:
Nico Schottelius 2022-01-15 18:58:52 +01:00
parent 28780cfadf
commit 4d31f64bd9
1 changed files with 5 additions and 7 deletions

View File

@ -1,16 +1,14 @@
FROM debian:11.2-slim
FROM debian:10.11-slim
RUN apt-get update && apt-get install -y wget gnupg2 less
RUN wget -O - https://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | apt-key add -
RUN echo deb http://hwraid.le-vert.net/debian bullseye main | tee /etc/apt/sources.list.d/hwraid.list
# Need to use buster, as bullseye repo is mostly empty
RUN echo deb http://hwraid.le-vert.net/debian buster main | tee /etc/apt/sources.list.d/hwraid.list
RUN apt-get update && apt search hpacucli
RUN apt-get update && apt-get install -y \
hpacucli \
ipmitool \
megacli \
megaclisas-status \
redfishtool \
stress-ng
COPY entrypoint.sh /
CMD ["/entrypoint.sh"]