Skip to content

Commit

Permalink
goreleaser with two binaries for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
cha87de committed Jan 7, 2019
1 parent 1c317b0 commit cd22782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ dockers:
- 'cha87de/kvmtop:{{ .Tag }}'
extra_files:
- init
- dist/linux_amd64
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN mkdir -p /opt/docker-init
ADD init /opt/docker-init

# add kvmtop binaries
ADD kvmtop /bin/kvmtop
ADD kvmprofiler /bin/kvmprofiler
ADD dist/linux_amd64/kvmtop /bin/kvmtop
ADD dist/linux_amd64/kvmprofiler /bin/kvmprofiler

# set parameters
ENV PARAMS "-c qemu:///system --printer=text --cpu --mem --net --disk"
Expand Down

0 comments on commit cd22782

Please sign in to comment.