bcgov / bcgov/devops-platform-workshops-labs
committed binary file: blackbox_exporter
- Dominant language
- Dockerfile
- Stars
- 1
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
instead of copying from the repository, download and install it.
```
RUN wget https://github.com/prometheus/blackbox_exporter/releases/download/v0.15.1/blackbox_exporter-0.15.1.linux-amd64.tar.gz -O /tmp/blackbox_exporter.tar.gz && \
tar -xz -f /tmp/blackbox_exporter.tar.gz --strip-components 1 -C /bin blackbox_exporter-0.15.1.linux-amd64/blackbox_exporter && \
rm -rf /tmp/blackbox_exporter.tar.gz
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Find the Dockerfile that currently copies the blackbox_exporter binary from the repository. Start by checking how that binary is added to the image, then use the issue's release URL and installation commands as the target behavior. Done means the image downloads and installs version 0.15.1 during its build without copying the binary from the repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dockerfile
- Domain
- devops
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100