Skip to content

Commit

Permalink
Directly invoke make during the container build
Browse files Browse the repository at this point in the history
I don't know how the upstream build ever worked.

This change is intended to get GitHub Actions building, as the first
attempt failed because it couldn't find .build/linux-amd64. That
directory doesn't get created during a local build and doesn't appear to
be mentioned in any capacity whatsoever in this repository.
  • Loading branch information
rcrowley committed Jul 15, 2024
1 parent 914cd9f commit 5350665
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ LABEL maintainer="The Prometheus Authors <[email protected]

ARG ARCH="amd64"
ARG OS="linux"
COPY .build/${OS}-${ARCH}/mysqld_exporter /bin/mysqld_exporter
RUN make
COPY mysqld_exporter /bin/mysqld_exporter

EXPOSE 9104
USER nobody
Expand Down

0 comments on commit 5350665

Please sign in to comment.