Skip to content

Commit

Permalink
README: remove docker container used for copying
Browse files Browse the repository at this point in the history
  • Loading branch information
benibr authored and Gabriele Iannetti committed Apr 24, 2024
1 parent ca823ce commit 9a02dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ A Debian container is based on the offical golang:1.17.5-bullseye container imag
```shell
# from repo base dir run
sudo docker build --tag lustre_exporter -f docker/Dockerfile .
sudo docker run -v $PWD:/cpy -it lustre_exporter
sudo docker run --rm -v $PWD:/cpy -it lustre_exporter
```
The binary will be available in `build/lustre_exporter-X.X.X`.

Expand All @@ -56,7 +56,7 @@ A CentOS7 container is based on the official CentOS7 container image for providi
```shell
# from repo base dir run
sudo docker build -t rpm_dock -f docker/RPM-Dockerfile .
sudo docker run -v $PWD:/rpm -it rpm_dock
sudo docker run --rm -v $PWD:/rpm -it rpm_dock
```
The RPM package will be available in `build/x86_64/prometheus-lustre-exporter-X.X.X-1.0.el7.x86_64.rpm`.

Expand Down

0 comments on commit 9a02dc5

Please sign in to comment.