Skip to content

Commit

Permalink
Merge pull request #3 from planetscale/curl-jq
Browse files Browse the repository at this point in the history
Add curl and jq for vttablet-preStop.sh
  • Loading branch information
rcrowley authored Jul 18, 2024
2 parents 1bd81ac + bfb34b8 commit e934e9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ RUN rm -f /mysqld_exporter/mysqld_exporter
RUN CGO_ENABLED=0 GOOS="$TARGETOS" GOARCH="$TARGETARCH" make -C /mysqld_exporter build

FROM golang:alpine
RUN apk --no-cache add curl
RUN apk --no-cache add jq
COPY --from=build /mysqld_exporter/mysqld_exporter /bin/mysqld_exporter
EXPOSE 9104
USER nobody
WORKDIR /
ENTRYPOINT ["/bin/mysqld_exporter"]

0 comments on commit e934e9d

Please sign in to comment.