Skip to content

Commit

Permalink
fix: use 'pinger version' to prevent build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
angad-k authored Jan 25, 2022
1 parent 74e1e88 commit 0026478
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 @@ -29,7 +29,7 @@ WORKDIR /go/bin
COPY --from=builder /go/src/github.com/sdslabs/pinger/pinger .

# Copy over the agent.yml from Builder image
COPY --from=builder /go/src/github.com/sdslabs/pinger/agent.yml .
# COPY --from=builder /go/src/github.com/sdslabs/pinger/agent.yml .

# Final command to run pinger
CMD [ "./pinger", "agent" ]
CMD [ "./pinger", "version" ]

0 comments on commit 0026478

Please sign in to comment.