Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tob1as committed Jan 18, 2025
1 parent 31dd8c7 commit bd72701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgres-exporter.scratch.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SHELL ["/bin/ash", "-euxo", "pipefail", "-c"]
RUN \
OS="$(go env GOOS)" ; \
ARCH="$(go env GOARCH)" ; \
[ "$ARCH" = "arm" ] && ARCH="armv7" || true ; \
echo "OS=${OS} ARCH=${ARCH}" ; \
VERSION=${VERSION:-$(wget -qO- https://api.github.com/repos/prometheus-community/postgres_exporter/releases/latest | grep 'tag_name' | cut -d\" -f4 | head -1)} ; \
echo "VERSION=${VERSION}" ; \
Expand Down

0 comments on commit bd72701

Please sign in to comment.