Skip to content

Commit

Permalink
fix: 兼容 v0.45.0+ 的编译产物路径改动
Browse files Browse the repository at this point in the history
  • Loading branch information
he-sb authored Aug 10, 2022
1 parent 6aa3101 commit 6b77002
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ WORKDIR /go/src/github.com/google/cadvisor
RUN git fetch --tags && \
git checkout ${CADVISOR_VERSION} && \
go env -w GO111MODULE=auto && \
make build
make build && \
[ -f "./cadvisor" ] || \
mv ./_output/cadvisor ./cadvisor

FROM alpine:latest

Expand Down

0 comments on commit 6b77002

Please sign in to comment.