Initial commit

This commit is contained in:
Nico Schottelius 2022-01-15 16:41:50 +01:00
commit 28780cfadf
3 changed files with 51 additions and 0 deletions

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM debian:11.2-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
RUN apt-get update && apt-get install -y \
hpacucli \
ipmitool \
megacli \
megaclisas-status \
redfishtool \
stress-ng
COPY entrypoint.sh /
CMD ["/entrypoint.sh"]

20
README.md Normal file
View File

@ -0,0 +1,20 @@
## ungleich-hardware
This container is made for configuring hardware on our clusters.
It usually needs to run in privileged mode.
## Included tools
```
hdparm
hpacucli
megacli
megaclisas-status
stress-ng
```
## Changelog
### 0.0.1 (2022-01-15)
* Initial release

15
build.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
set -e
docker build -t ungleich-hardware .
while [ $# -ge 1 ]; do
tag=$1; shift
git tag -a -m "Version $tag" $tag
git push --tags
docker tag ungleich-hardware:latest ungleich/ungleich-hardware:${tag}
docker tag ungleich-hardware:latest harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-hardware:${tag}
docker push ungleich/ungleich-hardware:${tag}
docker push harbor.ungleich.svc.p10.k8s.ooo/ungleich-public/ungleich-hardware:${tag}
done