Skip to content

Commit

Permalink
add timezone (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
QSummerY authored Nov 21, 2022
1 parent acd1eab commit 772ebc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ ENV GOPATH=/go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -v -a -ldflags "-s -w" -o /go/bin/aliyun-exporter .

FROM library/alpine:3.15.0
RUN apk --no-cache add tzdata
COPY --from=build-env /go/bin/aliyun-exporter /usr/bin/aliyun-exporter
ENTRYPOINT ["aliyun-exporter"]

0 comments on commit 772ebc2

Please sign in to comment.