Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jul 29, 2021
1 parent 1e4c92e commit 8acc310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
variables:
homepage: https://github.com/caarlos0/speedtest-exporter
description: Exports Speedtest results to the Prometheus for
description: Exports Speedtest results to the Prometheus format
includes:
- from_url:
url: https://raw.githubusercontent.com/caarlos0/goreleaserfiles/main/build.yml
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine
EXPOSE 9876
WORKDIR /
RUN wget -O /tmp/speedtest.tgz https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-$(apk info --print-arch)-linux.tgz && \
RUN wget -O /tmp/speedtest.tgz https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-$(apk info --print-arch)-linux.tgz && \
tar xvfz /tmp/speedtest.tgz -C /usr/local/bin speedtest && \
rm -rf /tmp/speedtest.tgz
COPY speedtest-exporter*.apk /tmp
Expand Down

0 comments on commit 8acc310

Please sign in to comment.