Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIRST_USE #10

Open
Jean-Baptiste-Lasselle opened this issue Feb 14, 2020 · 0 comments
Open

FIRST_USE #10

Jean-Baptiste-Lasselle opened this issue Feb 14, 2020 · 0 comments

Comments

@Jean-Baptiste-Lasselle
Copy link

Jean-Baptiste-Lasselle commented Feb 14, 2020

Hi, I was interested in what that software can do with docker.

I could not find away to first use it, can I ask for a tip ?

If helpful , I here give a recipe to build your software, without the user being required to install go on his machine :

# In an empty dir, on a machine with docker installed 

git clone  https://github.com/hhdug/hdtop .
docker run --rm -v $(pwd)/src/hdtop:/usr/src/hdtop -w /usr/src/hdtop golang:1.10 bash -c 'go get github.com/fsouza/go-dockerclient/... && go get github.com/constabulary/gb/... && go build -v && pwd && ls -allh hdtop' 

ls -allh src/hdtop/hdtop

echo "The built exacutable [hdtop] is at [$(pwd)/src/hdtop/hdtop] "
echo ""

I tried src/hdtop/hdtop --help out of docker container, gave me a error panic message, running on debian stretch,execution stops immediately.

worth mentioning, due to dependency math/Something, golang >= 1.9 is required, I did successfully build using golang 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant