Skip to content

Commit

Permalink
Merge pull request #97 from rubyalwaystaken/pin-alpine-version
Browse files Browse the repository at this point in the history
pins alpine version
  • Loading branch information
dewey authored Sep 21, 2023
2 parents 18e0111 + f3f2ec2 commit 8d391a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /src
RUN GOGC=off go build -mod=vendor -v -o /sql_exporter .

# multistage
FROM alpine:latest
FROM alpine:3.18.3

RUN apk --update upgrade && \
apk add curl ca-certificates && \
Expand All @@ -28,4 +28,4 @@ RUN chmod 0755 /usr/bin/sql_exporter

USER prom

CMD sql_exporter
CMD sql_exporter

0 comments on commit 8d391a3

Please sign in to comment.